Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001181/0.001181, allocations: 105.5 kB / 15.99 MB, free: 5.891 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.001183/0.001183, allocations: 193.2 kB / 16.91 MB, free: 5.746 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437 MB / 0.7107 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.91 kB / 0.8694 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6625, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1675/0.8301, allocations: 152.4 MB / 1.166 GB, free: 9.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.8459, allocations: 10.41 MB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.8471, allocations: 19.88 kB / 1.176 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.8485, allocations: 242.4 kB / 1.177 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.8523, allocations: 0.8646 MB / 1.178 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.8555, allocations: 0.9793 MB / 1.178 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.8582, allocations: 1.729 MB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.8603, allocations: 1.142 MB / 1.181 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.863, allocations: 0.7274 MB / 1.182 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.8641, allocations: 0.6224 MB / 1.183 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.8645, allocations: 132 kB / 1.183 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.8669, allocations: 1.006 MB / 1.184 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.8674, allocations: 382.8 kB / 1.184 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.8685, allocations: 0.6763 MB / 1.185 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.8712, allocations: 1.637 MB / 1.186 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8713, allocations: 4 kB / 1.186 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8713, allocations: 4 kB / 1.186 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.486e-05/0.8714, allocations: 0 / 1.186 GB, free: 5.113 MB / 0.9356 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.004143/0.8755, allocations: 1.707 MB / 1.188 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8756, allocations: 8.031 kB / 1.188 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.8774, allocations: 274.1 kB / 1.188 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.8792, allocations: 0.8745 MB / 1.189 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.8793, allocations: 74 kB / 1.189 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.8795, allocations: 96 kB / 1.189 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.8818, allocations: 1.113 MB / 1.19 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.8819, allocations: 0 / 1.19 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.882, allocations: 44 kB / 1.19 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.8821, allocations: 20 kB / 1.19 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.8844, allocations: 1.319 MB / 1.192 GB, free: 15.46 MB / 0.9512 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.006136/0.8906, allocations: 3.431 MB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.8927, allocations: 1.106 MB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000753/0.8935, allocations: 423.2 kB / 1.197 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.8938, allocations: 146 kB / 1.197 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.895, allocations: 0.6099 MB / 1.197 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 4.789e-06/0.895, allocations: 0 / 1.197 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.004379/0.8994, allocations: 1.635 MB / 1.199 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.8995, allocations: 192.9 kB / 1.199 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.9009, allocations: 0.8057 MB / 1.2 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.901, allocations: 53.64 kB / 1.2 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.9015, allocations: 456.5 kB / 1.2 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.9018, allocations: 311.5 kB / 1.201 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.9021, allocations: 186.5 kB / 1.201 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9023, allocations: 338 kB / 1.201 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/0.903, allocations: 357.8 kB / 1.201 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008396/0.9039, allocations: 473.6 kB / 1.202 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.9054, allocations: 0.7921 MB / 1.203 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9054, allocations: 0 / 1.203 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002644/0.9081, allocations: 1.087 MB / 1.204 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.9081, allocations: 4 kB / 1.204 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9081, allocations: 0 / 1.204 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007758/0.9089, allocations: 121.7 kB / 1.204 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009589/0.9099, allocations: 211.7 kB / 1.204 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.9131, allocations: 3.076 MB / 1.207 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.9143, allocations: 115.3 kB / 1.207 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.9145, allocations: 39.97 kB / 1.207 GB, free: 14.86 MB / 0.9669 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.0006944/0.9152, allocations: 315.3 kB / 1.208 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.9155, allocations: 98.78 kB / 1.208 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.9187, allocations: 1.314 MB / 1.209 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.9187, allocations: 12 kB / 1.209 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.9187, allocations: 0 / 1.209 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.9187, allocations: 7.969 kB / 1.209 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/0.9233, allocations: 2.426 MB / 1.211 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.9234, allocations: 4 kB / 1.211 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.9242, allocations: 183.8 kB / 1.211 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005831/0.9248, allocations: 105.6 kB / 1.212 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.551e-05/0.9249, allocations: 39.91 kB / 1.212 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/0.9279, allocations: 3.108 MB / 1.215 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.928, allocations: 0 / 1.215 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.9309, allocations: 1.231 MB / 1.216 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/0.9315, allocations: 311.5 kB / 1.216 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.9318, allocations: 24 kB / 1.216 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/0.9328, allocations: 83.81 kB / 1.216 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.933, allocations: 84.83 kB / 1.216 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.9331, allocations: 43.97 kB / 1.216 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008769/0.934, allocations: 0.5732 MB / 1.217 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.934, allocations: 0 / 1.217 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001411/0.9354, allocations: 451.2 kB / 1.217 GB, free: 4.07 MB / 0.9669 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.00197/0.9374, allocations: 0.7254 MB / 1.218 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.9407, allocations: 1.392 MB / 1.219 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9408, allocations: 0 / 1.219 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.9422, allocations: 0.7333 MB / 1.22 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.9441, allocations: 352.8 kB / 1.22 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.9486, allocations: 2.54 MB / 1.223 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/0.9495, allocations: 1.099 MB / 1.224 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.95, allocations: 127.4 kB / 1.224 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of SimCode: time 1.273e-06/0.95, allocations: 4 kB / 1.224 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.03826/0.9883, allocations: 27.38 MB / 1.251 GB, free: 1.887 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches