Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 109.2 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8164, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1919/1.008, allocations: 154 MB / 1.239 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01659/1.025, allocations: 10.48 MB / 1.249 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/1.026, allocations: 26.69 kB / 1.249 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/1.028, allocations: 273.8 kB / 1.25 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/1.031, allocations: 0.9428 MB / 1.25 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/1.035, allocations: 1.081 MB / 1.252 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002624/1.037, allocations: 1.644 MB / 1.253 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/1.039, allocations: 1.186 MB / 1.254 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/1.041, allocations: 0.7135 MB / 1.255 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000996/1.042, allocations: 0.6106 MB / 1.256 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003558/1.043, allocations: 136 kB / 1.256 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/1.045, allocations: 1.03 MB / 1.257 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004808/1.046, allocations: 374.9 kB / 1.257 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009423/1.047, allocations: 0.6567 MB / 1.258 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003839/1.051, allocations: 2.181 MB / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.051, allocations: 4 kB / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/1.051, allocations: 0 / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.859e-05/1.051, allocations: 3.938 kB / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00401/1.055, allocations: 1.695 MB / 1.261 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.055, allocations: 12.03 kB / 1.262 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/1.057, allocations: 270.1 kB / 1.262 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/1.058, allocations: 0.9095 MB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/1.058, allocations: 73.98 kB / 1.263 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.058, allocations: 96 kB / 1.263 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/1.06, allocations: 1.112 MB / 1.264 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/1.06, allocations: 7.938 kB / 1.264 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/1.06, allocations: 36 kB / 1.264 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/1.06, allocations: 24 kB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/1.063, allocations: 1.323 MB / 1.265 GB, free: 8.699 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/1.068, allocations: 3.179 MB / 1.268 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/1.07, allocations: 1.098 MB / 1.269 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/1.07, allocations: 430.4 kB / 1.27 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/1.071, allocations: 130.1 kB / 1.27 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/1.072, allocations: 0.6293 MB / 1.271 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.916e-06/1.072, allocations: 0 / 1.271 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004139/1.076, allocations: 1.624 MB / 1.272 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.076, allocations: 200.9 kB / 1.272 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.077, allocations: 0.8057 MB / 1.273 GB, free: 352 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.35e-05/1.077, allocations: 41.7 kB / 1.273 GB, free: 304 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/1.078, allocations: 464.5 kB / 1.274 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/1.078, allocations: 307.5 kB / 1.274 GB, free: 15.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/1.078, allocations: 186.5 kB / 1.274 GB, free: 15.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.078, allocations: 341.9 kB / 1.274 GB, free: 15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/1.079, allocations: 357.8 kB / 1.275 GB, free: 14.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/1.08, allocations: 477.6 kB / 1.275 GB, free: 14.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.081, allocations: 0.7843 MB / 1.276 GB, free: 13.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.081, allocations: 0 / 1.276 GB, free: 13.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002594/1.084, allocations: 1.087 MB / 1.277 GB, free: 12.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/1.084, allocations: 8 kB / 1.277 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/1.084, allocations: 0 / 1.277 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007717/1.085, allocations: 121.7 kB / 1.277 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/1.086, allocations: 203.7 kB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/1.089, allocations: 3.076 MB / 1.28 GB, free: 8.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.09, allocations: 115.1 kB / 1.28 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/1.09, allocations: 39.97 kB / 1.281 GB, free: 8.422 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006562/1.091, allocations: 315.8 kB / 1.281 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/1.091, allocations: 98.78 kB / 1.281 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/1.094, allocations: 1.31 MB / 1.282 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/1.094, allocations: 8 kB / 1.282 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.094, allocations: 0 / 1.282 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/1.094, allocations: 11.97 kB / 1.282 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/1.098, allocations: 2.416 MB / 1.285 GB, free: 4.176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.098, allocations: 3.984 kB / 1.285 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/1.099, allocations: 191.7 kB / 1.285 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/1.099, allocations: 105.6 kB / 1.285 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/1.1, allocations: 31.91 kB / 1.285 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/1.102, allocations: 3.088 MB / 1.288 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.102, allocations: 4.062 kB / 1.288 GB, free: 480 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/1.105, allocations: 1.233 MB / 1.289 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/1.105, allocations: 311.5 kB / 1.289 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.106, allocations: 23.98 kB / 1.289 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/1.106, allocations: 83.98 kB / 1.29 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.107, allocations: 84.81 kB / 1.29 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/1.107, allocations: 47.91 kB / 1.29 GB, free: 14.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007392/1.108, allocations: 0.5693 MB / 1.29 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.108, allocations: 0 / 1.29 GB, free: 14.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001152/1.109, allocations: 447 kB / 1.291 GB, free: 13.65 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/1.11, allocations: 0.7078 MB / 1.291 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0023/1.113, allocations: 1.139 MB / 1.292 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.113, allocations: 4 kB / 1.292 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/1.114, allocations: 0.741 MB / 1.293 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.115, allocations: 354.4 kB / 1.293 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/1.12, allocations: 2.153 MB / 1.296 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/1.121, allocations: 1.099 MB / 1.297 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/1.121, allocations: 127.4 kB / 1.297 GB, free: 7.43 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.121, allocations: 0 / 1.297 GB, free: 7.43 MB / 1.029 GB Notification: Performance of Templates: time 0.03316/1.154, allocations: 27.37 MB / 1.324 GB, free: 12.12 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches