Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.499/2.499, allocations: 390.5 MB / 398 MB, free: 10.91 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.001134/0.001135, allocations: 180.8 kB / 491.2 MB, free: 1.543 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.822/1.822, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001096/0.001097, allocations: 95.83 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.405e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3547, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.056/6.411, allocations: 1.941 GB / 3.153 GB, free: 387.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/6.411, allocations: 83.95 kB / 3.153 GB, free: 387.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.65/8.061, allocations: 481.6 MB / 3.624 GB, free: 290.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.675e-06/8.061, allocations: 0 / 3.624 GB, free: 290.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001989/8.062, allocations: 52.34 kB / 3.624 GB, free: 290.7 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005242/8.067, allocations: 1.789 MB / 3.626 GB, free: 289.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/8.067, allocations: 9.469 kB / 3.626 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/8.07, allocations: 449.9 kB / 3.626 GB, free: 289.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/8.073, allocations: 0.9799 MB / 3.627 GB, free: 289.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-05/8.073, allocations: 52.94 kB / 3.627 GB, free: 289.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00039/8.074, allocations: 87.41 kB / 3.627 GB, free: 289.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002857/8.077, allocations: 1.521 MB / 3.629 GB, free: 289.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/8.079, allocations: 1.423 MB / 3.63 GB, free: 289.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/8.079, allocations: 7.156 kB / 3.63 GB, free: 289.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/8.079, allocations: 3.969 kB / 3.63 GB, free: 289.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/8.079, allocations: 37.75 kB / 3.63 GB, free: 289.3 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.00729/8.086, allocations: 5.455 MB / 3.635 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/8.088, allocations: 1.358 MB / 3.637 GB, free: 286.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/8.089, allocations: 492.8 kB / 3.637 GB, free: 286.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007802/8.089, allocations: 0.8863 MB / 3.638 GB, free: 285.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009385/8.09, allocations: 0.6695 MB / 3.639 GB, free: 285.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=117): time 3.277e-06/8.09, allocations: 0 / 3.639 GB, free: 285.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=117): time 0.00247/8.093, allocations: 1.107 MB / 3.64 GB, free: 285.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/8.093, allocations: 247.3 kB / 3.64 GB, free: 285.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/8.094, allocations: 0.6714 MB / 3.641 GB, free: 285.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.564e-05/8.094, allocations: 28.95 kB / 3.641 GB, free: 285 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/8.094, allocations: 0.6549 MB / 3.641 GB, free: 284.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/8.095, allocations: 382 kB / 3.642 GB, free: 284.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/8.095, allocations: 0 / 3.642 GB, free: 284.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.964e-05/8.095, allocations: 345.8 kB / 3.642 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/8.095, allocations: 351.9 kB / 3.642 GB, free: 284.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/8.096, allocations: 0.5074 MB / 3.643 GB, free: 284.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/8.097, allocations: 432.3 kB / 3.643 GB, free: 284.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/8.097, allocations: 3.375 kB / 3.643 GB, free: 284.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001973/8.099, allocations: 1.092 MB / 3.644 GB, free: 283.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/8.099, allocations: 7.594 kB / 3.644 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/8.099, allocations: 2.719 kB / 3.644 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/8.099, allocations: 85.23 kB / 3.644 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/8.1, allocations: 264.8 kB / 3.645 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/8.102, allocations: 1.474 MB / 3.646 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/8.103, allocations: 109.1 kB / 3.646 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/8.103, allocations: 43.98 kB / 3.646 GB, free: 282.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002567/8.103, allocations: 130 kB / 3.646 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/8.104, allocations: 111.2 kB / 3.646 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/8.106, allocations: 1.376 MB / 3.648 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/8.106, allocations: 11.81 kB / 3.648 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/8.106, allocations: 0 / 3.648 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/8.106, allocations: 11.64 kB / 3.648 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/8.111, allocations: 2.757 MB / 3.65 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/8.111, allocations: 0 / 3.65 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/8.113, allocations: 269.8 kB / 3.651 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/8.113, allocations: 83.02 kB / 3.651 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.51e-05/8.113, allocations: 21.73 kB / 3.651 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/8.115, allocations: 1.491 MB / 3.652 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/8.115, allocations: 0 / 3.652 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/8.118, allocations: 1.873 MB / 3.654 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/8.119, allocations: 394.3 kB / 3.654 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/8.12, allocations: 0 / 3.654 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/8.121, allocations: 95.12 kB / 3.655 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/8.121, allocations: 80.52 kB / 3.655 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/8.121, allocations: 62.72 kB / 3.655 GB, free: 280.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001094/8.123, allocations: 0.5337 MB / 3.655 GB, free: 280.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/8.123, allocations: 0 / 3.655 GB, free: 280.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003296/8.126, allocations: 0.6156 MB / 3.656 GB, free: 280.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005811/8.132, allocations: 1.938 MB / 3.658 GB, free: 279.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00287/8.135, allocations: 1.048 MB / 3.659 GB, free: 279.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/8.135, allocations: 4.219 kB / 3.659 GB, free: 279.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/8.136, allocations: 0.6576 MB / 3.659 GB, free: 279.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/8.139, allocations: 412.4 kB / 3.66 GB, free: 279.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/8.146, allocations: 2.202 MB / 3.662 GB, free: 278.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/8.148, allocations: 1.316 MB / 3.663 GB, free: 278.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002337/8.15, allocations: 409.4 kB / 3.664 GB, free: 278.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/8.151, allocations: 138 kB / 3.664 GB, free: 278.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.363e-06/8.151, allocations: 0 / 3.664 GB, free: 278.1 MB / 1.151 GB Notification: Performance of Templates: time 0.04738/8.198, allocations: 28.95 MB / 3.692 GB, free: 268.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches