Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.355/2.355, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001069/0.00107, allocations: 178.5 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.00134/0.00134, allocations: 95.88 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.359e-05, allocations: 3.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2917, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.739/6.031, allocations: 1.939 GB / 3.158 GB, free: 319 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/6.031, allocations: 82.64 kB / 3.158 GB, free: 319 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6058/6.637, allocations: 321.2 MB / 3.472 GB, free: 4.102 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.676e-06/6.637, allocations: 0 / 3.472 GB, free: 4.102 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001428/6.637, allocations: 52 kB / 3.472 GB, free: 4.051 MB / 1.167 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.003586/6.641, allocations: 2.13 MB / 3.474 GB, free: 1.863 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/6.641, allocations: 8.031 kB / 3.474 GB, free: 1.855 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/6.644, allocations: 0.5551 MB / 3.474 GB, free: 1.297 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7396/7.384, allocations: 2.174 MB / 3.476 GB, free: 313.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/7.384, allocations: 124.4 kB / 3.477 GB, free: 313.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/7.384, allocations: 167 kB / 3.477 GB, free: 313.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/7.388, allocations: 1.787 MB / 3.478 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/7.388, allocations: 0 / 3.478 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/7.389, allocations: 75.16 kB / 3.479 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.417e-05/7.389, allocations: 39.72 kB / 3.479 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/7.392, allocations: 1.905 MB / 3.48 GB, free: 313.2 MB / 1.167 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.013/7.405, allocations: 6.216 MB / 3.487 GB, free: 311.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/7.409, allocations: 1.876 MB / 3.488 GB, free: 311.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/7.41, allocations: 0.6689 MB / 3.489 GB, free: 311.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/7.41, allocations: 428.3 kB / 3.489 GB, free: 310.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/7.412, allocations: 0.8846 MB / 3.49 GB, free: 310.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.316e-06/7.412, allocations: 1.219 kB / 3.49 GB, free: 310.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.00433/7.416, allocations: 1.623 MB / 3.492 GB, free: 310.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/7.416, allocations: 247.5 kB / 3.492 GB, free: 310.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/7.422, allocations: 2.447 MB / 3.494 GB, free: 310.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004676/7.422, allocations: 55.92 kB / 3.495 GB, free: 310.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/7.423, allocations: 0.8795 MB / 3.495 GB, free: 309.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/7.424, allocations: 460.8 kB / 3.496 GB, free: 309.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/7.424, allocations: 22.84 kB / 3.496 GB, free: 309.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001072/7.424, allocations: 349.3 kB / 3.496 GB, free: 309.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/7.425, allocations: 496.6 kB / 3.497 GB, free: 309.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/7.426, allocations: 0.7025 MB / 3.497 GB, free: 309.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/7.427, allocations: 0.5688 MB / 3.498 GB, free: 309.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/7.427, allocations: 0 / 3.498 GB, free: 309.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00405/7.431, allocations: 1.594 MB / 3.499 GB, free: 308.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/7.431, allocations: 5.703 kB / 3.499 GB, free: 308.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/7.431, allocations: 1 kB / 3.499 GB, free: 308.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/7.432, allocations: 213.8 kB / 3.5 GB, free: 308.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/7.434, allocations: 308 kB / 3.5 GB, free: 308.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/7.438, allocations: 6.802 MB / 3.507 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/7.441, allocations: 173.2 kB / 3.507 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/7.441, allocations: 69.25 kB / 3.507 GB, free: 302.5 MB / 1.167 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.0004135/7.441, allocations: 173.3 kB / 3.507 GB, free: 302.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004784/7.442, allocations: 188.5 kB / 3.507 GB, free: 302.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/7.447, allocations: 2.034 MB / 3.509 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/7.447, allocations: 14.41 kB / 3.509 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/7.447, allocations: 1.828 kB / 3.509 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/7.447, allocations: 12.27 kB / 3.509 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009204/7.456, allocations: 4.153 MB / 3.513 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/7.456, allocations: 0.75 kB / 3.513 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/7.458, allocations: 331.6 kB / 3.514 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009681/7.459, allocations: 211.3 kB / 3.514 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/7.459, allocations: 44.5 kB / 3.514 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004711/7.463, allocations: 6.826 MB / 3.52 GB, free: 295.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/7.464, allocations: 0 / 3.52 GB, free: 295.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004513/7.468, allocations: 1.79 MB / 3.522 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/7.47, allocations: 0.669 MB / 3.523 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/7.47, allocations: 32.09 kB / 3.523 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/7.472, allocations: 139.9 kB / 3.523 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/7.472, allocations: 111.5 kB / 3.523 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/7.472, allocations: 83.53 kB / 3.523 GB, free: 294.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003262/7.475, allocations: 1.93 MB / 3.525 GB, free: 294.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.01e-07/7.475, allocations: 0 / 3.525 GB, free: 294.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003378/7.479, allocations: 0.8229 MB / 3.526 GB, free: 294.8 MB / 1.167 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.0035/7.482, allocations: 1.661 MB / 3.528 GB, free: 294.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003137/7.486, allocations: 1.798 MB / 3.529 GB, free: 293.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/7.486, allocations: 6.625 kB / 3.529 GB, free: 293.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/7.487, allocations: 1.278 MB / 3.531 GB, free: 293.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/7.49, allocations: 471.6 kB / 3.531 GB, free: 293.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/7.498, allocations: 2.988 MB / 3.534 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/7.499, allocations: 1.56 MB / 3.535 GB, free: 291.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003128/7.502, allocations: 0.6632 MB / 3.536 GB, free: 291.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008895/7.503, allocations: 252 kB / 3.536 GB, free: 291.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.253e-06/7.503, allocations: 0 / 3.536 GB, free: 291.9 MB / 1.167 GB Notification: Performance of Templates: time 0.07072/7.574, allocations: 50.11 MB / 3.585 GB, free: 289.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches