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.001413/0.001413, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.365/2.365, allocations: 390.2 MB / 0.6647 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6551/0.6564, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2055/0.8619, allocations: 167.2 MB / 1.113 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02395/0.8859, allocations: 17.2 MB / 1.13 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.8876, allocations: 35.81 kB / 1.13 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.8898, allocations: 0.5196 MB / 1.13 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005648/0.8954, allocations: 1.68 MB / 1.132 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.8994, allocations: 1.404 MB / 1.133 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003727/0.9031, allocations: 2.65 MB / 1.136 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/0.9062, allocations: 2.002 MB / 1.138 GB, free: 448 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/0.9106, allocations: 1.381 MB / 1.139 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.9126, allocations: 1.081 MB / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008014/0.9134, allocations: 220 kB / 1.14 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.9171, allocations: 1.521 MB / 1.142 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.9182, allocations: 0.7868 MB / 1.143 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.9203, allocations: 1.174 MB / 1.144 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005327/0.9256, allocations: 3.462 MB / 1.147 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.9257, allocations: 0 / 1.147 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.737e-06/0.9257, allocations: 7.938 kB / 1.147 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.533e-05/0.9257, allocations: 3.938 kB / 1.147 GB, free: 6.824 MB / 0.9044 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.004733/0.9305, allocations: 2.713 MB / 1.15 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9305, allocations: 12.03 kB / 1.15 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/0.9343, allocations: 0.5473 MB / 1.15 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.937, allocations: 1.595 MB / 1.152 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.9371, allocations: 131.4 kB / 1.152 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.9373, allocations: 168 kB / 1.152 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.9408, allocations: 1.944 MB / 1.154 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.9408, allocations: 0 / 1.154 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.941, allocations: 80 kB / 1.154 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.9411, allocations: 40 kB / 1.154 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.9447, allocations: 2.093 MB / 1.156 GB, free: 13.33 MB / 0.92 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.009092/0.9538, allocations: 5.708 MB / 1.162 GB, free: 7.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/0.9572, allocations: 2.091 MB / 1.164 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.9585, allocations: 0.7646 MB / 1.165 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/0.9591, allocations: 429.6 kB / 1.165 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.9608, allocations: 1.005 MB / 1.166 GB, free: 2.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.397e-06/0.9609, allocations: 0 / 1.166 GB, free: 2.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006885/0.9677, allocations: 2.958 MB / 1.169 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.9679, allocations: 205.2 kB / 1.169 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.9702, allocations: 1.78 MB / 1.171 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.9704, allocations: 61.7 kB / 1.171 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007534/0.9711, allocations: 0.8311 MB / 1.172 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/0.9716, allocations: 481 kB / 1.172 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.972, allocations: 262.7 kB / 1.172 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9722, allocations: 357.9 kB / 1.173 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.9733, allocations: 0.5882 MB / 1.173 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.9747, allocations: 0.7975 MB / 1.174 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.9771, allocations: 1.333 MB / 1.175 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9771, allocations: 0 / 1.175 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00408/0.9812, allocations: 1.807 MB / 1.177 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.9812, allocations: 7.938 kB / 1.177 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.9812, allocations: 3.984 kB / 1.177 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.9824, allocations: 220.1 kB / 1.177 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.984, allocations: 327.6 kB / 1.178 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006111/0.9901, allocations: 7.309 MB / 1.185 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.9918, allocations: 166.9 kB / 1.185 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.9919, allocations: 63.95 kB / 1.185 GB, free: 14.37 MB / 0.9512 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.000988/0.9929, allocations: 483.2 kB / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/0.9933, allocations: 181.8 kB / 1.186 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/0.9979, allocations: 2.125 MB / 1.188 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.9979, allocations: 16 kB / 1.188 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.998, allocations: 0 / 1.188 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.998, allocations: 11.97 kB / 1.188 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006772/1.005, allocations: 3.983 MB / 1.192 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.005, allocations: 0 / 1.192 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.006, allocations: 319.5 kB / 1.192 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009378/1.007, allocations: 204.1 kB / 1.192 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/1.007, allocations: 39.97 kB / 1.192 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005798/1.013, allocations: 7.356 MB / 1.199 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.013, allocations: 3.938 kB / 1.199 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/1.017, allocations: 1.994 MB / 1.201 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008492/1.018, allocations: 470.3 kB / 1.202 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/1.018, allocations: 32 kB / 1.202 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.02, allocations: 101.6 kB / 1.202 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/1.02, allocations: 113.1 kB / 1.202 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.02, allocations: 71.95 kB / 1.202 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001626/1.022, allocations: 1.277 MB / 1.203 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/1.022, allocations: 0 / 1.203 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001689/1.023, allocations: 0.6623 MB / 1.204 GB, free: 10.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 (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.001744/1.025, allocations: 0.7491 MB / 1.205 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005431/1.031, allocations: 2.527 MB / 1.207 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.031, allocations: 0.5625 kB / 1.207 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/1.033, allocations: 1.414 MB / 1.209 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/1.035, allocations: 0.522 MB / 1.209 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007315/1.043, allocations: 3.873 MB / 1.213 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.044, allocations: 1.525 MB / 1.214 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002056/1.046, allocations: 0.4967 MB / 1.215 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.046, allocations: 175.4 kB / 1.215 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of SimCode: time 7.91e-07/1.046, allocations: 0 / 1.215 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.05303/1.099, allocations: 31 MB / 1.245 GB, free: 144 kB / 0.9981 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/jenkins/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