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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001048/0.001048, allocations: 118.3 kB / 16.37 MB, free: 5.984 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.001047/0.001048, allocations: 192.6 kB / 17.31 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.176/2.176, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.09 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2645, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.634/0.8986, allocations: 154 MB / 1.102 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.9127, allocations: 10.48 MB / 1.112 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.9138, allocations: 20.38 kB / 1.112 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009052/0.9147, allocations: 269.4 kB / 1.112 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.9176, allocations: 0.9311 MB / 1.113 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.9206, allocations: 1.08 MB / 1.114 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.9223, allocations: 1.635 MB / 1.116 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.9237, allocations: 1.184 MB / 1.117 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.9254, allocations: 0.7034 MB / 1.117 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/0.9261, allocations: 0.6095 MB / 1.118 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.9263, allocations: 135 kB / 1.118 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.9284, allocations: 1.027 MB / 1.119 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.9288, allocations: 387.9 kB / 1.12 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006524/0.9295, allocations: 0.6559 MB / 1.12 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.9323, allocations: 2.184 MB / 1.122 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9323, allocations: 1.734 kB / 1.122 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9323, allocations: 0 / 1.122 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.9324, allocations: 4 kB / 1.122 GB, free: 5.188 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.00311/0.9355, allocations: 1.687 MB / 1.124 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.9355, allocations: 12.48 kB / 1.124 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.9371, allocations: 265.2 kB / 1.124 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.9384, allocations: 0.9042 MB / 1.125 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/0.9385, allocations: 80.28 kB / 1.125 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.9387, allocations: 98.91 kB / 1.125 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.9406, allocations: 1.111 MB / 1.126 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.9407, allocations: 0.5312 kB / 1.126 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.9408, allocations: 41.12 kB / 1.126 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.9408, allocations: 23.56 kB / 1.126 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.943, allocations: 1.32 MB / 1.128 GB, free: 19.7 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.00472/0.9477, allocations: 3.18 MB / 1.131 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.9496, allocations: 1.102 MB / 1.132 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/0.9503, allocations: 424.3 kB / 1.132 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.9506, allocations: 138.3 kB / 1.132 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.9516, allocations: 0.6192 MB / 1.133 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=95): time 2.364e-06/0.9516, allocations: 0 / 1.133 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95): time 0.003988/0.9556, allocations: 1.626 MB / 1.135 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.9557, allocations: 199.2 kB / 1.135 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.9569, allocations: 0.8117 MB / 1.136 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.344e-05/0.957, allocations: 46.64 kB / 1.136 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.9573, allocations: 461.4 kB / 1.136 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.9575, allocations: 311.2 kB / 1.136 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.9578, allocations: 183.9 kB / 1.137 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.958, allocations: 339.6 kB / 1.137 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.9587, allocations: 357.9 kB / 1.137 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.9595, allocations: 477.5 kB / 1.138 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.9609, allocations: 0.7883 MB / 1.138 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9609, allocations: 0 / 1.138 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002371/0.9633, allocations: 1.08 MB / 1.14 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9633, allocations: 8.344 kB / 1.14 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.9633, allocations: 3.531 kB / 1.14 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.9641, allocations: 115 kB / 1.14 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/0.965, allocations: 209.4 kB / 1.14 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.9679, allocations: 3.074 MB / 1.143 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/0.9688, allocations: 118.7 kB / 1.143 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.9689, allocations: 42.92 kB / 1.143 GB, free: 12.96 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.0005631/0.9695, allocations: 313.5 kB / 1.143 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.9697, allocations: 103.9 kB / 1.143 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.9725, allocations: 1.318 MB / 1.145 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.9726, allocations: 10.94 kB / 1.145 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9726, allocations: 0 / 1.145 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.9726, allocations: 7.859 kB / 1.145 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.9766, allocations: 2.418 MB / 1.147 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9766, allocations: 1.156 kB / 1.147 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008517/0.9775, allocations: 189.2 kB / 1.147 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/0.9781, allocations: 112.8 kB / 1.147 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.9782, allocations: 35.58 kB / 1.147 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.9811, allocations: 3.084 MB / 1.15 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9811, allocations: 0 / 1.15 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.9838, allocations: 1.235 MB / 1.152 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.9844, allocations: 317 kB / 1.152 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.9845, allocations: 16.56 kB / 1.152 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007921/0.9853, allocations: 83.11 kB / 1.152 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.9856, allocations: 80.97 kB / 1.152 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.9857, allocations: 48.61 kB / 1.152 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008097/0.9865, allocations: 0.5704 MB / 1.153 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9865, allocations: 1.781 kB / 1.153 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001434/0.9879, allocations: 439.6 kB / 1.153 GB, free: 6.91 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.001722/0.9897, allocations: 0.7113 MB / 1.154 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002384/0.9921, allocations: 1.152 MB / 1.155 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.9921, allocations: 7.625 kB / 1.155 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.9933, allocations: 0.7279 MB / 1.156 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.9946, allocations: 352 kB / 1.156 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.9988, allocations: 2.122 MB / 1.158 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.9995, allocations: 1.105 MB / 1.159 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009594/1, allocations: 308.4 kB / 1.159 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/1.001, allocations: 126.1 kB / 1.16 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/1.001, allocations: 0 / 1.16 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.02826/1.029, allocations: 19.59 MB / 1.179 GB, free: 11.57 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 -s gbode -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