Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006411/0.006411, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001319/0.001319, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 66.73 kB / 0.899 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3436, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1802/0.5238, allocations: 166.1 MB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02381/0.5477, allocations: 17.39 MB / 1.232 GB, free: 160 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.5496, allocations: 31.81 kB / 1.232 GB, free: 128 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.5517, allocations: 485.1 kB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.557, allocations: 1.596 MB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.5609, allocations: 1.268 MB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004207/0.5651, allocations: 3.093 MB / 1.238 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.5684, allocations: 1.795 MB / 1.24 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005897/0.5743, allocations: 1.253 MB / 1.241 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.5763, allocations: 1.093 MB / 1.242 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006919/0.577, allocations: 120 kB / 1.242 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.5809, allocations: 1.579 MB / 1.244 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.582, allocations: 0.6931 MB / 1.245 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002275/0.5843, allocations: 1.119 MB / 1.246 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6555/1.24, allocations: 2.658 MB / 1.248 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.74e-05/1.24, allocations: 3.312 kB / 1.248 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.647e-06/1.24, allocations: 0.9375 kB / 1.248 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001759/1.24, allocations: 0 / 1.248 GB, free: 9.723 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.008072/1.248, allocations: 2.742 MB / 1.251 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/1.248, allocations: 14.59 kB / 1.251 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/1.253, allocations: 0.556 MB / 1.252 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/1.256, allocations: 1.594 MB / 1.253 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/1.256, allocations: 129.7 kB / 1.253 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/1.256, allocations: 173.5 kB / 1.253 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/1.259, allocations: 1.943 MB / 1.255 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.259, allocations: 0 / 1.255 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/1.26, allocations: 73.52 kB / 1.255 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/1.26, allocations: 42.72 kB / 1.255 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/1.263, allocations: 2.09 MB / 1.257 GB, free: 7.77 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.01088/1.274, allocations: 6.063 MB / 1.263 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/1.279, allocations: 2.091 MB / 1.265 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/1.28, allocations: 0.7648 MB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005897/1.281, allocations: 430.7 kB / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002081/1.283, allocations: 1.002 MB / 1.268 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.266e-06/1.283, allocations: 0 / 1.268 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.008136/1.291, allocations: 2.956 MB / 1.27 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/1.291, allocations: 200.2 kB / 1.271 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/1.294, allocations: 1.782 MB / 1.272 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/1.295, allocations: 59.38 kB / 1.272 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/1.296, allocations: 0.8326 MB / 1.273 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/1.296, allocations: 492.1 kB / 1.274 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/1.297, allocations: 252.9 kB / 1.274 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/1.297, allocations: 353.1 kB / 1.274 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/1.298, allocations: 0.5952 MB / 1.275 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.299, allocations: 0.8006 MB / 1.276 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/1.302, allocations: 1.332 MB / 1.277 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/1.302, allocations: 4 kB / 1.277 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004372/1.306, allocations: 1.807 MB / 1.279 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.306, allocations: 6.125 kB / 1.279 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.306, allocations: 2.109 kB / 1.279 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/1.307, allocations: 224.3 kB / 1.279 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.309, allocations: 327 kB / 1.279 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/1.315, allocations: 6.813 MB / 1.286 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/1.317, allocations: 183.1 kB / 1.286 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/1.317, allocations: 57.23 kB / 1.286 GB, free: 11.66 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00131/1.319, allocations: 490.4 kB / 1.287 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/1.319, allocations: 184.5 kB / 1.287 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/1.324, allocations: 2.117 MB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.324, allocations: 15.34 kB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.324, allocations: 2.312 kB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/1.324, allocations: 16.52 kB / 1.289 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/1.331, allocations: 3.977 MB / 1.293 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.331, allocations: 3.844 kB / 1.293 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/1.333, allocations: 313.3 kB / 1.293 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009443/1.334, allocations: 218.9 kB / 1.293 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/1.334, allocations: 46.16 kB / 1.293 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00549/1.339, allocations: 6.824 MB / 1.3 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.339, allocations: 0 / 1.3 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/1.344, allocations: 1.996 MB / 1.302 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.345, allocations: 468.6 kB / 1.302 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/1.345, allocations: 35.22 kB / 1.302 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.347, allocations: 128.2 kB / 1.302 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/1.347, allocations: 118.3 kB / 1.303 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/1.347, allocations: 74.05 kB / 1.303 GB, free: 3.871 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001713/1.349, allocations: 1.281 MB / 1.304 GB, free: 3.762 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.81e-07/1.349, allocations: 0 / 1.304 GB, free: 3.762 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002182/1.351, allocations: 0.6797 MB / 1.305 GB, free: 3.66 MB / 1.014 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001877/1.353, allocations: 0.7504 MB / 1.305 GB, free: 3.461 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00353/1.357, allocations: 2.081 MB / 1.307 GB, free: 2.863 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.357, allocations: 3.781 kB / 1.307 GB, free: 2.863 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/1.359, allocations: 1.408 MB / 1.309 GB, free: 2.301 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.362, allocations: 0.5162 MB / 1.309 GB, free: 2.262 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00692/1.368, allocations: 4.476 MB / 1.314 GB, free: 132 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.37, allocations: 1.479 MB / 1.315 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008313/1.37, allocations: 200.8 kB / 1.315 GB, free: 15.37 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/1.37, allocations: 0 / 1.315 GB, free: 15.37 MB / 1.029 GB Notification: Performance of Templates: time 0.07596/1.446, allocations: 66.93 MB / 1.381 GB, free: 6.531 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches