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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.398/2.398, allocations: 390.5 MB / 398 MB, free: 10.93 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.00119/0.00119, allocations: 188.6 kB / 491.2 MB, free: 1.555 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.619/1.619, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001091/0.001091, allocations: 95.45 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.29e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.36, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.339/6.699, allocations: 1.938 GB / 3.15 GB, free: 331.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/6.7, allocations: 84.89 kB / 3.151 GB, free: 331.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6337/7.334, allocations: 322.3 MB / 3.465 GB, free: 20.78 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/7.334, allocations: 0 / 3.465 GB, free: 20.78 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002878/7.334, allocations: 51.94 kB / 3.465 GB, free: 20.73 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.005041/7.339, allocations: 2.103 MB / 3.467 GB, free: 18.56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/7.339, allocations: 8.031 kB / 3.467 GB, free: 18.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/7.343, allocations: 0.5434 MB / 3.468 GB, free: 18.01 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/7.346, allocations: 2.169 MB / 3.47 GB, free: 15.79 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/7.346, allocations: 55.95 kB / 3.47 GB, free: 15.73 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/7.347, allocations: 99.94 kB / 3.47 GB, free: 15.64 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002494/7.349, allocations: 1.806 MB / 3.472 GB, free: 13.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/7.351, allocations: 1.55 MB / 3.473 GB, free: 12.23 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/7.351, allocations: 3.984 kB / 3.473 GB, free: 12.22 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/7.352, allocations: 8 kB / 3.473 GB, free: 12.21 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/7.352, allocations: 40 kB / 3.473 GB, free: 12.18 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.00863/7.36, allocations: 5.704 MB / 3.479 GB, free: 6.281 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/7.362, allocations: 1.78 MB / 3.481 GB, free: 4.418 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/7.363, allocations: 0.6322 MB / 3.481 GB, free: 3.781 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/7.363, allocations: 433.7 kB / 3.482 GB, free: 3.285 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/7.365, allocations: 0.8424 MB / 3.483 GB, free: 2.422 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.898e-06/7.365, allocations: 0 / 3.483 GB, free: 2.422 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003358/7.368, allocations: 1.549 MB / 3.484 GB, free: 0.8477 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/7.368, allocations: 248.6 kB / 3.484 GB, free: 0.5469 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7071/8.075, allocations: 2.243 MB / 3.487 GB, free: 305.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005022/8.076, allocations: 29.33 kB / 3.487 GB, free: 305.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008476/8.077, allocations: 0.8721 MB / 3.487 GB, free: 305.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005242/8.077, allocations: 440.6 kB / 3.488 GB, free: 305.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/8.077, allocations: 0 / 3.488 GB, free: 305.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/8.077, allocations: 351.9 kB / 3.488 GB, free: 305 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000767/8.078, allocations: 465.3 kB / 3.489 GB, free: 305 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009244/8.079, allocations: 0.6691 MB / 3.489 GB, free: 304.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/8.08, allocations: 0.5541 MB / 3.49 GB, free: 304.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/8.08, allocations: 1.031 kB / 3.49 GB, free: 304.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003576/8.084, allocations: 1.491 MB / 3.491 GB, free: 304.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/8.084, allocations: 6.062 kB / 3.491 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/8.084, allocations: 0.7969 kB / 3.491 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/8.085, allocations: 215.1 kB / 3.492 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/8.086, allocations: 312 kB / 3.492 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004594/8.091, allocations: 6.522 MB / 3.498 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/8.093, allocations: 122.8 kB / 3.498 GB, free: 298.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/8.093, allocations: 72.31 kB / 3.498 GB, free: 298.5 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.0003629/8.093, allocations: 124.4 kB / 3.499 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/8.094, allocations: 173.7 kB / 3.499 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/8.098, allocations: 1.918 MB / 3.501 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/8.098, allocations: 17.41 kB / 3.501 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/8.098, allocations: 5.75 kB / 3.501 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/8.098, allocations: 6.625 kB / 3.501 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007778/8.106, allocations: 3.83 MB / 3.504 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/8.106, allocations: 0 / 3.504 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/8.108, allocations: 323 kB / 3.505 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000979/8.109, allocations: 205.3 kB / 3.505 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/8.109, allocations: 28.75 kB / 3.505 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004212/8.113, allocations: 6.552 MB / 3.511 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/8.113, allocations: 1.406 kB / 3.511 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/8.117, allocations: 1.706 MB / 3.513 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/8.118, allocations: 0.6534 MB / 3.514 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/8.119, allocations: 6.391 kB / 3.514 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/8.12, allocations: 104.6 kB / 3.514 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/8.12, allocations: 100.7 kB / 3.514 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/8.12, allocations: 85.45 kB / 3.514 GB, free: 291.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002942/8.123, allocations: 1.757 MB / 3.516 GB, free: 291.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/8.123, allocations: 3 kB / 3.516 GB, free: 291.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003653/8.127, allocations: 0.7557 MB / 3.516 GB, free: 291.1 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.003568/8.131, allocations: 1.771 MB / 3.518 GB, free: 290.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003609/8.134, allocations: 1.714 MB / 3.52 GB, free: 290.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/8.134, allocations: 1.906 kB / 3.52 GB, free: 290.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/8.136, allocations: 1.224 MB / 3.521 GB, free: 289.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/8.139, allocations: 426.7 kB / 3.521 GB, free: 289.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007175/8.146, allocations: 2.801 MB / 3.524 GB, free: 289.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/8.148, allocations: 1.541 MB / 3.526 GB, free: 288.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003129/8.151, allocations: 0.6599 MB / 3.526 GB, free: 288.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009377/8.152, allocations: 239.5 kB / 3.526 GB, free: 288.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.625e-06/8.152, allocations: 3.844 kB / 3.526 GB, free: 288.3 MB / 1.151 GB Notification: Performance of Templates: time 0.06821/8.22, allocations: 36.8 MB / 3.562 GB, free: 286.9 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches