Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_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_9_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.001478/0.001478, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001599/0.001599, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.331/1.331, 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.165/2.165, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001513, allocations: 64.17 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2972, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.8007/1.098, allocations: 167.2 MB / 1.114 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02124/1.119, allocations: 17.19 MB / 1.13 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/1.122, allocations: 31.12 kB / 1.13 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/1.124, allocations: 0.5302 MB / 1.131 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006074/1.13, allocations: 1.684 MB / 1.132 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/1.134, allocations: 1.414 MB / 1.134 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004396/1.139, allocations: 2.643 MB / 1.136 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003316/1.142, allocations: 1.996 MB / 1.138 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005007/1.147, allocations: 1.392 MB / 1.14 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/1.149, allocations: 1.078 MB / 1.141 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006879/1.15, allocations: 221.4 kB / 1.141 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004335/1.154, allocations: 1.528 MB / 1.143 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009181/1.155, allocations: 0.7872 MB / 1.143 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001663/1.157, allocations: 1.175 MB / 1.144 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006294/1.163, allocations: 3.458 MB / 1.148 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/1.163, allocations: 5.062 kB / 1.148 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.332e-06/1.163, allocations: 0 / 1.148 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.155e-05/1.164, allocations: 0 / 1.148 GB, free: 16.89 MB / 0.8731 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.005794/1.169, allocations: 2.723 MB / 1.15 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.169, allocations: 8.812 kB / 1.15 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003869/1.173, allocations: 0.5557 MB / 1.151 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/1.176, allocations: 1.591 MB / 1.153 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/1.177, allocations: 131.2 kB / 1.153 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/1.177, allocations: 168.9 kB / 1.153 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003782/1.181, allocations: 1.941 MB / 1.155 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/1.181, allocations: 1.406 kB / 1.155 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/1.181, allocations: 72.94 kB / 1.155 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/1.181, allocations: 47.38 kB / 1.155 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/1.185, allocations: 2.087 MB / 1.157 GB, free: 12.73 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.01063/1.195, allocations: 5.705 MB / 1.162 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/1.199, allocations: 2.081 MB / 1.165 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/1.2, allocations: 0.7708 MB / 1.165 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/1.201, allocations: 428.5 kB / 1.166 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/1.203, allocations: 1.014 MB / 1.167 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.748e-06/1.203, allocations: 0 / 1.167 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006877/1.209, allocations: 2.951 MB / 1.17 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.21, allocations: 197 kB / 1.17 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/1.212, allocations: 1.79 MB / 1.171 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003047/1.213, allocations: 60.7 kB / 1.172 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007722/1.213, allocations: 0.8293 MB / 1.172 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005241/1.214, allocations: 479.7 kB / 1.173 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/1.214, allocations: 262.3 kB / 1.173 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.214, allocations: 356.9 kB / 1.173 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.216, allocations: 0.5933 MB / 1.174 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/1.217, allocations: 0.8013 MB / 1.175 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/1.219, allocations: 1.333 MB / 1.176 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.219, allocations: 0 / 1.176 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004069/1.223, allocations: 1.807 MB / 1.178 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.223, allocations: 7.688 kB / 1.178 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.223, allocations: 3.938 kB / 1.178 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.224, allocations: 210.7 kB / 1.178 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.226, allocations: 336.9 kB / 1.178 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/1.232, allocations: 7.315 MB / 1.186 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/1.234, allocations: 160 kB / 1.186 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/1.235, allocations: 59.17 kB / 1.186 GB, free: 8.695 MB / 0.8887 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.001332/1.236, allocations: 489.1 kB / 1.186 GB, free: 8.375 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/1.237, allocations: 179.2 kB / 1.186 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/1.241, allocations: 2.129 MB / 1.188 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.241, allocations: 18.72 kB / 1.188 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.241, allocations: 2.719 kB / 1.188 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/1.241, allocations: 7.969 kB / 1.188 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007376/1.249, allocations: 3.995 MB / 1.192 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.249, allocations: 0 / 1.192 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.25, allocations: 315.2 kB / 1.193 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000898/1.251, allocations: 212.6 kB / 1.193 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.251, allocations: 40.53 kB / 1.193 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006148/1.257, allocations: 7.355 MB / 1.2 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.257, allocations: 1.906 kB / 1.2 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004741/1.262, allocations: 1.994 MB / 1.202 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.263, allocations: 464.9 kB / 1.202 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/1.264, allocations: 29.66 kB / 1.203 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.265, allocations: 103.3 kB / 1.203 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/1.265, allocations: 112.5 kB / 1.203 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.266, allocations: 70.19 kB / 1.203 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001852/1.267, allocations: 1.276 MB / 1.204 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/1.267, allocations: 0 / 1.204 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002485/1.27, allocations: 0.658 MB / 1.205 GB, free: 10.61 MB / 0.9044 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.001974/1.272, allocations: 0.7671 MB / 1.205 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005595/1.278, allocations: 2.517 MB / 1.208 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.278, allocations: 2.969 kB / 1.208 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/1.28, allocations: 1.416 MB / 1.209 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.283, allocations: 0.5175 MB / 1.21 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/1.291, allocations: 3.805 MB / 1.213 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.292, allocations: 1.482 MB / 1.215 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/1.293, allocations: 199.3 kB / 1.215 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of SimCode: time 7.61e-07/1.293, allocations: 0 / 1.215 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.08086/1.374, allocations: 66.55 MB / 1.28 GB, free: 0.8359 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches