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.001221/0.001221, allocations: 99.56 kB / 16.27 MB, free: 5.977 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.001307/0.001307, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.218/2.218, allocations: 390.2 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 65.86 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3133, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.7398/1.053, allocations: 154 MB / 1.101 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01607/1.069, allocations: 10.48 MB / 1.111 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/1.071, allocations: 20.16 kB / 1.111 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/1.072, allocations: 268.6 kB / 1.111 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004108/1.077, allocations: 0.9249 MB / 1.112 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/1.08, allocations: 1.072 MB / 1.113 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00302/1.083, allocations: 1.629 MB / 1.115 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/1.086, allocations: 1.179 MB / 1.116 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/1.088, allocations: 0.7004 MB / 1.117 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/1.089, allocations: 0.6037 MB / 1.117 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002786/1.09, allocations: 134.1 kB / 1.117 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/1.092, allocations: 1.001 MB / 1.118 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005001/1.093, allocations: 386.1 kB / 1.119 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009854/1.094, allocations: 0.6514 MB / 1.119 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/1.099, allocations: 2.148 MB / 1.121 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.099, allocations: 0.6094 kB / 1.121 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.755e-06/1.099, allocations: 0.6875 kB / 1.121 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.505e-05/1.099, allocations: 0 / 1.121 GB, free: 5.02 MB / 0.8575 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.004286/1.103, allocations: 1.694 MB / 1.123 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.103, allocations: 9.719 kB / 1.123 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/1.105, allocations: 268.2 kB / 1.123 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/1.106, allocations: 0.8828 MB / 1.124 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/1.106, allocations: 76.78 kB / 1.124 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/1.106, allocations: 94 kB / 1.124 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/1.109, allocations: 1.106 MB / 1.125 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.109, allocations: 0 / 1.125 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.109, allocations: 45.22 kB / 1.125 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/1.109, allocations: 28.55 kB / 1.125 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/1.111, allocations: 1.32 MB / 1.127 GB, free: 19.54 MB / 0.8731 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.005252/1.116, allocations: 3.221 MB / 1.13 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/1.118, allocations: 1.104 MB / 1.131 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/1.119, allocations: 418.8 kB / 1.131 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/1.119, allocations: 139.2 kB / 1.132 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/1.12, allocations: 0.62 MB / 1.132 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=95): time 2.976e-06/1.12, allocations: 0 / 1.132 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95): time 0.004288/1.125, allocations: 1.627 MB / 1.134 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.125, allocations: 190.8 kB / 1.134 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/1.126, allocations: 0.8111 MB / 1.135 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.126, allocations: 46.77 kB / 1.135 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/1.127, allocations: 465 kB / 1.135 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/1.127, allocations: 314.3 kB / 1.135 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/1.127, allocations: 183 kB / 1.136 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.127, allocations: 339.9 kB / 1.136 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/1.128, allocations: 352.5 kB / 1.136 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/1.129, allocations: 479.8 kB / 1.137 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/1.13, allocations: 0.7918 MB / 1.138 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.13, allocations: 1.281 kB / 1.138 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002602/1.133, allocations: 1.087 MB / 1.139 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.133, allocations: 4.844 kB / 1.139 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.133, allocations: 1.188 kB / 1.139 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/1.134, allocations: 117.3 kB / 1.139 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/1.135, allocations: 205.7 kB / 1.139 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/1.138, allocations: 3.072 MB / 1.142 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.139, allocations: 120.1 kB / 1.142 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.139, allocations: 38.73 kB / 1.142 GB, free: 12.94 MB / 0.8731 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.0007986/1.14, allocations: 320 kB / 1.142 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/1.14, allocations: 98.44 kB / 1.142 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/1.143, allocations: 1.319 MB / 1.144 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.143, allocations: 10.12 kB / 1.144 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.143, allocations: 0.9062 kB / 1.144 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.143, allocations: 4.359 kB / 1.144 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004509/1.148, allocations: 2.418 MB / 1.146 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.148, allocations: 1.281 kB / 1.146 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/1.149, allocations: 193 kB / 1.146 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/1.149, allocations: 103.4 kB / 1.146 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/1.149, allocations: 34.81 kB / 1.146 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/1.152, allocations: 3.083 MB / 1.149 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.153, allocations: 2.531 kB / 1.149 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/1.156, allocations: 1.232 MB / 1.151 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/1.156, allocations: 314.4 kB / 1.151 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/1.157, allocations: 24.95 kB / 1.151 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009841/1.158, allocations: 73.02 kB / 1.151 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.158, allocations: 95.53 kB / 1.151 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.158, allocations: 48.48 kB / 1.151 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001047/1.159, allocations: 0.5696 MB / 1.152 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/1.159, allocations: 0 / 1.152 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001915/1.161, allocations: 439.1 kB / 1.152 GB, free: 6.883 MB / 0.8731 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.002283/1.163, allocations: 0.722 MB / 1.153 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003644/1.167, allocations: 1.392 MB / 1.154 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/1.167, allocations: 0 / 1.154 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.169, allocations: 0.7413 MB / 1.155 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.171, allocations: 345.4 kB / 1.155 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/1.176, allocations: 2.176 MB / 1.157 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008999/1.177, allocations: 1.104 MB / 1.158 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/1.178, allocations: 136.1 kB / 1.159 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of SimCode: time 1.082e-06/1.178, allocations: 0 / 1.159 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of Templates: time 0.0384/1.216, allocations: 27.23 MB / 1.185 GB, free: 6.98 MB / 0.8887 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