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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 387.1 MB / 399.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 176.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.3 MB / 0.7872 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.000922, allocations: 95.47 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.072e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3095, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.782/6.091, allocations: 1.938 GB / 3.15 GB, free: 332.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/6.092, allocations: 89.89 kB / 3.15 GB, free: 332.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6063/6.698, allocations: 325.6 MB / 3.468 GB, free: 18.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.442e-06/6.698, allocations: 0 / 3.468 GB, free: 18.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001657/6.698, allocations: 55.88 kB / 3.468 GB, free: 18.25 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003383/6.701, allocations: 2.103 MB / 3.471 GB, free: 16.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/6.701, allocations: 8.031 kB / 3.471 GB, free: 16.08 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/6.705, allocations: 0.5473 MB / 3.471 GB, free: 15.53 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/6.708, allocations: 2.165 MB / 3.473 GB, free: 13.31 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-05/6.709, allocations: 127.3 kB / 3.473 GB, free: 13.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/6.709, allocations: 168 kB / 3.473 GB, free: 13.02 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/6.711, allocations: 1.783 MB / 3.475 GB, free: 11.19 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/6.711, allocations: 4 kB / 3.475 GB, free: 11.18 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/6.712, allocations: 72 kB / 3.475 GB, free: 11.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/6.712, allocations: 40 kB / 3.475 GB, free: 11.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/6.714, allocations: 1.898 MB / 3.477 GB, free: 9.172 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008182/6.722, allocations: 6.015 MB / 3.483 GB, free: 2.945 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/6.724, allocations: 1.873 MB / 3.485 GB, free: 0.9922 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/6.725, allocations: 0.6718 MB / 3.486 GB, free: 328 kB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6915/7.417, allocations: 424.6 kB / 3.486 GB, free: 305.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002677/7.419, allocations: 0.8824 MB / 3.487 GB, free: 305.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 4.088e-06/7.419, allocations: 0 / 3.487 GB, free: 305.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.00421/7.424, allocations: 1.618 MB / 3.488 GB, free: 305.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/7.424, allocations: 248.5 kB / 3.489 GB, free: 304.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004198/7.428, allocations: 2.418 MB / 3.491 GB, free: 304.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003552/7.428, allocations: 57.61 kB / 3.491 GB, free: 304.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008118/7.429, allocations: 0.8594 MB / 3.492 GB, free: 304.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/7.43, allocations: 455.2 kB / 3.492 GB, free: 304.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/7.43, allocations: 21.62 kB / 3.492 GB, free: 304.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001002/7.43, allocations: 349.7 kB / 3.493 GB, free: 303.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/7.431, allocations: 492 kB / 3.493 GB, free: 303.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/7.432, allocations: 0.7023 MB / 3.494 GB, free: 303.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/7.433, allocations: 0.5644 MB / 3.494 GB, free: 303.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/7.433, allocations: 3.562 kB / 3.494 GB, free: 303.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003593/7.436, allocations: 1.583 MB / 3.496 GB, free: 303.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/7.436, allocations: 7.875 kB / 3.496 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/7.436, allocations: 3.609 kB / 3.496 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/7.437, allocations: 215.2 kB / 3.496 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/7.439, allocations: 304.8 kB / 3.496 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/7.444, allocations: 6.785 MB / 3.503 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/7.445, allocations: 157.6 kB / 3.503 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/7.446, allocations: 70.34 kB / 3.503 GB, free: 297.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003961/7.446, allocations: 181.8 kB / 3.503 GB, free: 297 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/7.447, allocations: 185 kB / 3.504 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/7.451, allocations: 2.026 MB / 3.506 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/7.451, allocations: 12.84 kB / 3.506 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/7.451, allocations: 4.719 kB / 3.506 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/7.451, allocations: 11.28 kB / 3.506 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/7.459, allocations: 4.14 MB / 3.51 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/7.459, allocations: 0 / 3.51 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/7.46, allocations: 323.1 kB / 3.51 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009349/7.461, allocations: 213.4 kB / 3.51 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/7.462, allocations: 46.05 kB / 3.51 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/7.466, allocations: 6.816 MB / 3.517 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.466, allocations: 5.203 kB / 3.517 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/7.471, allocations: 1.787 MB / 3.519 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/7.472, allocations: 0.6698 MB / 3.519 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/7.473, allocations: 29.19 kB / 3.519 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/7.474, allocations: 127.1 kB / 3.519 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/7.474, allocations: 102.2 kB / 3.52 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/7.475, allocations: 88.03 kB / 3.52 GB, free: 289.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003193/7.478, allocations: 1.909 MB / 3.521 GB, free: 289.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.478, allocations: 8.188 kB / 3.521 GB, free: 289.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003569/7.481, allocations: 0.8215 MB / 3.522 GB, free: 289.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003795/7.485, allocations: 1.652 MB / 3.524 GB, free: 289.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003147/7.488, allocations: 1.801 MB / 3.526 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/7.488, allocations: 3.375 kB / 3.526 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/7.49, allocations: 1.289 MB / 3.527 GB, free: 287.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/7.493, allocations: 474.1 kB / 3.527 GB, free: 287.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006835/7.5, allocations: 2.871 MB / 3.53 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/7.502, allocations: 1.549 MB / 3.532 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003179/7.505, allocations: 0.6594 MB / 3.532 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009704/7.506, allocations: 244.6 kB / 3.533 GB, free: 286.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.262e-06/7.506, allocations: 4.844 kB / 3.533 GB, free: 286.5 MB / 1.151 GB Notification: Performance of Templates: time 0.07865/7.584, allocations: 49.84 MB / 3.581 GB, free: 284.6 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches