Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.473/2.473, allocations: 387.1 MB / 399.7 MB, free: 9.41 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.00126/0.00126, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.683/1.683, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.001127/0.001128, allocations: 101.5 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.005e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.749/6.062, allocations: 1.938 GB / 3.151 GB, free: 332.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/6.062, allocations: 88.23 kB / 3.151 GB, free: 332.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6035/6.666, allocations: 321.2 MB / 3.464 GB, free: 22.36 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.293e-06/6.666, allocations: 0 / 3.464 GB, free: 22.36 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001377/6.666, allocations: 55.94 kB / 3.465 GB, free: 22.3 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003288/6.669, allocations: 2.126 MB / 3.467 GB, free: 20.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/6.669, allocations: 16.02 kB / 3.467 GB, free: 20.11 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/6.673, allocations: 0.5512 MB / 3.467 GB, free: 19.55 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/6.676, allocations: 2.181 MB / 3.469 GB, free: 17.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/6.676, allocations: 127.2 kB / 3.469 GB, free: 17.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/6.676, allocations: 160 kB / 3.47 GB, free: 17.04 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/6.679, allocations: 1.791 MB / 3.471 GB, free: 15.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/6.679, allocations: 3.984 kB / 3.471 GB, free: 15.19 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/6.679, allocations: 72 kB / 3.471 GB, free: 15.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/6.679, allocations: 40 kB / 3.471 GB, free: 15.08 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/6.682, allocations: 1.906 MB / 3.473 GB, free: 13.17 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.009471/6.691, allocations: 6.224 MB / 3.479 GB, free: 6.738 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/6.693, allocations: 1.872 MB / 3.481 GB, free: 4.781 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007881/6.694, allocations: 0.6795 MB / 3.482 GB, free: 4.105 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/6.695, allocations: 417.7 kB / 3.482 GB, free: 3.621 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/6.696, allocations: 0.8887 MB / 3.483 GB, free: 2.715 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.397e-06/6.696, allocations: 0 / 3.483 GB, free: 2.715 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003379/6.699, allocations: 1.619 MB / 3.485 GB, free: 1.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/6.699, allocations: 248.6 kB / 3.485 GB, free: 0.7734 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7048/7.404, allocations: 2.445 MB / 3.487 GB, free: 304.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005783/7.405, allocations: 53.86 kB / 3.487 GB, free: 304.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/7.406, allocations: 0.8804 MB / 3.488 GB, free: 304.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/7.406, allocations: 459.5 kB / 3.489 GB, free: 304.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/7.406, allocations: 19.97 kB / 3.489 GB, free: 304.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001133/7.407, allocations: 352.1 kB / 3.489 GB, free: 303.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/7.408, allocations: 496.1 kB / 3.49 GB, free: 303.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/7.409, allocations: 0.6994 MB / 3.49 GB, free: 303.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/7.41, allocations: 0.5693 MB / 3.491 GB, free: 303.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/7.41, allocations: 0 / 3.491 GB, free: 303.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004058/7.414, allocations: 1.587 MB / 3.492 GB, free: 303.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/7.414, allocations: 6.375 kB / 3.492 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/7.414, allocations: 4.75 kB / 3.492 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/7.415, allocations: 210.2 kB / 3.493 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/7.417, allocations: 313.2 kB / 3.493 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/7.421, allocations: 6.805 MB / 3.499 GB, free: 297 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/7.423, allocations: 167 kB / 3.5 GB, free: 297 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/7.423, allocations: 67.11 kB / 3.5 GB, free: 297 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 (132): * Single equations (assignments): 127 * 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.0003488/7.423, allocations: 187.4 kB / 3.5 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/7.424, allocations: 191.5 kB / 3.5 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/7.428, allocations: 2.024 MB / 3.502 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/7.428, allocations: 14.66 kB / 3.502 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/7.428, allocations: 7.797 kB / 3.502 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/7.428, allocations: 9.328 kB / 3.502 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/7.435, allocations: 4.151 MB / 3.506 GB, free: 296.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/7.435, allocations: 2.75 kB / 3.506 GB, free: 296.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/7.437, allocations: 333.2 kB / 3.506 GB, free: 296.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009186/7.438, allocations: 206.7 kB / 3.507 GB, free: 296.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/7.438, allocations: 45.53 kB / 3.507 GB, free: 296.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/7.442, allocations: 6.836 MB / 3.513 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/7.442, allocations: 0 / 3.513 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003945/7.446, allocations: 1.783 MB / 3.515 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/7.448, allocations: 0.6706 MB / 3.516 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/7.448, allocations: 26.91 kB / 3.516 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/7.449, allocations: 143.8 kB / 3.516 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/7.45, allocations: 100.8 kB / 3.516 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/7.45, allocations: 85.34 kB / 3.516 GB, free: 289.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003055/7.453, allocations: 1.931 MB / 3.518 GB, free: 289.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.443e-06/7.453, allocations: 3.844 kB / 3.518 GB, free: 289.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002943/7.456, allocations: 0.8289 MB / 3.519 GB, free: 289.2 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.003067/7.459, allocations: 1.652 MB / 3.52 GB, free: 288.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002804/7.462, allocations: 1.806 MB / 3.522 GB, free: 288.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/7.462, allocations: 1.969 kB / 3.522 GB, free: 288.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/7.463, allocations: 1.283 MB / 3.523 GB, free: 287.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/7.466, allocations: 473.5 kB / 3.524 GB, free: 287.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/7.473, allocations: 2.998 MB / 3.527 GB, free: 287.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/7.474, allocations: 1.549 MB / 3.528 GB, free: 286.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002923/7.477, allocations: 0.6624 MB / 3.529 GB, free: 286.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009559/7.478, allocations: 243.6 kB / 3.529 GB, free: 286.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.373e-06/7.478, allocations: 1.406 kB / 3.529 GB, free: 286.3 MB / 1.151 GB Notification: Performance of Templates: time 0.07771/7.556, allocations: 50.12 MB / 3.578 GB, free: 284.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches