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.152/2.152, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001378/0.001378, allocations: 176.8 kB / 487.4 MB, free: 5.082 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.467/1.467, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 99.67 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.589e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.107/4.341, allocations: 1.938 GB / 3.144 GB, free: 346.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/4.342, allocations: 83.05 kB / 3.144 GB, free: 346.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5675/4.909, allocations: 317.9 MB / 3.454 GB, free: 49.35 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.274e-06/4.909, allocations: 4 kB / 3.454 GB, free: 49.34 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002407/4.909, allocations: 48 kB / 3.454 GB, free: 49.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.00415/4.914, allocations: 2.134 MB / 3.456 GB, free: 47.11 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/4.914, allocations: 8.031 kB / 3.456 GB, free: 47.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/4.917, allocations: 0.5551 MB / 3.457 GB, free: 46.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/4.92, allocations: 2.185 MB / 3.459 GB, free: 44.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/4.92, allocations: 52 kB / 3.459 GB, free: 44.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/4.921, allocations: 96 kB / 3.459 GB, free: 44.16 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00248/4.923, allocations: 1.818 MB / 3.461 GB, free: 42.34 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/4.925, allocations: 1.555 MB / 3.462 GB, free: 40.73 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/4.925, allocations: 0 / 3.462 GB, free: 40.73 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/4.926, allocations: 0 / 3.462 GB, free: 40.73 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/4.926, allocations: 44 kB / 3.462 GB, free: 40.69 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.007624/4.933, allocations: 5.898 MB / 3.468 GB, free: 34.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/4.935, allocations: 1.802 MB / 3.47 GB, free: 32.72 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/4.936, allocations: 0.6283 MB / 3.471 GB, free: 32.09 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004604/4.936, allocations: 433.7 kB / 3.471 GB, free: 31.59 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009645/4.937, allocations: 0.8385 MB / 3.472 GB, free: 30.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 2.685e-06/4.937, allocations: 0 / 3.472 GB, free: 30.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003001/4.94, allocations: 1.549 MB / 3.473 GB, free: 29.16 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/4.94, allocations: 244.6 kB / 3.474 GB, free: 28.87 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/4.943, allocations: 2.274 MB / 3.476 GB, free: 26.58 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/4.943, allocations: 33.7 kB / 3.476 GB, free: 26.54 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/4.943, allocations: 0.8857 MB / 3.477 GB, free: 25.64 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/4.944, allocations: 437.3 kB / 3.477 GB, free: 25.21 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/4.944, allocations: 7.875 kB / 3.477 GB, free: 25.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.724e-05/4.944, allocations: 353.9 kB / 3.477 GB, free: 24.85 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/4.944, allocations: 470.5 kB / 3.478 GB, free: 24.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/4.945, allocations: 0.6709 MB / 3.479 GB, free: 23.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/4.946, allocations: 0.554 MB / 3.479 GB, free: 23.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/4.946, allocations: 0 / 3.479 GB, free: 23.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00248/4.948, allocations: 1.506 MB / 3.481 GB, free: 21.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/4.948, allocations: 4 kB / 3.481 GB, free: 21.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/4.948, allocations: 0 / 3.481 GB, free: 21.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008892/4.949, allocations: 200.2 kB / 3.481 GB, free: 21.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/4.95, allocations: 311.6 kB / 3.481 GB, free: 21.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/4.954, allocations: 6.543 MB / 3.487 GB, free: 13.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/4.955, allocations: 131.1 kB / 3.488 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/4.955, allocations: 63.97 kB / 3.488 GB, free: 13.73 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.0002864/4.956, allocations: 132.8 kB / 3.488 GB, free: 13.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/4.956, allocations: 177.8 kB / 3.488 GB, free: 13.42 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/4.96, allocations: 1.909 MB / 3.49 GB, free: 11.48 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/4.96, allocations: 12 kB / 3.49 GB, free: 11.47 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/4.96, allocations: 7.938 kB / 3.49 GB, free: 11.46 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/4.96, allocations: 7.969 kB / 3.49 GB, free: 11.46 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/4.965, allocations: 3.842 MB / 3.494 GB, free: 7.551 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/4.965, allocations: 0 / 3.494 GB, free: 7.551 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/4.966, allocations: 331.6 kB / 3.494 GB, free: 7.227 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007595/4.967, allocations: 204.1 kB / 3.494 GB, free: 7.012 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/4.967, allocations: 27.92 kB / 3.494 GB, free: 6.984 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5383/5.505, allocations: 6.549 MB / 3.501 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/5.505, allocations: 0 / 3.501 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/5.509, allocations: 1.697 MB / 3.502 GB, free: 307.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/5.51, allocations: 0.6609 MB / 3.503 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/5.511, allocations: 3.812 kB / 3.503 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/5.512, allocations: 113.1 kB / 3.503 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/5.512, allocations: 106.5 kB / 3.503 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/5.512, allocations: 88.06 kB / 3.503 GB, free: 307.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002278/5.514, allocations: 1.778 MB / 3.505 GB, free: 307.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/5.514, allocations: 0 / 3.505 GB, free: 307.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002293/5.517, allocations: 0.7692 MB / 3.506 GB, free: 307.5 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.002717/5.519, allocations: 1.759 MB / 3.507 GB, free: 307.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002487/5.522, allocations: 1.721 MB / 3.509 GB, free: 306.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/5.522, allocations: 4.844 kB / 3.509 GB, free: 306.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/5.523, allocations: 1.22 MB / 3.51 GB, free: 306.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/5.526, allocations: 430.9 kB / 3.511 GB, free: 306.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00639/5.532, allocations: 2.903 MB / 3.513 GB, free: 305.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/5.533, allocations: 1.554 MB / 3.515 GB, free: 304.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002702/5.536, allocations: 0.6529 MB / 3.516 GB, free: 304.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008338/5.537, allocations: 241.8 kB / 3.516 GB, free: 304.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.91e-07/5.537, allocations: 1.25 kB / 3.516 GB, free: 304.7 MB / 1.151 GB Notification: Performance of Templates: time 0.06372/5.601, allocations: 37.01 MB / 3.552 GB, free: 303.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