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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003271, allocations: 8 kB / 0.8707 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.5863, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1444/0.7307, allocations: 140.3 MB / 1.158 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.748, allocations: 14.19 MB / 1.172 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.7491, allocations: 23.81 kB / 1.172 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.7502, allocations: 346 kB / 1.172 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.7537, allocations: 1.341 MB / 1.173 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.7565, allocations: 1.112 MB / 1.174 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002262/0.7587, allocations: 1.592 MB / 1.176 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.7605, allocations: 1.511 MB / 1.177 GB, free: 240 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.762, allocations: 0.9341 MB / 1.178 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008297/0.7628, allocations: 0.7232 MB / 1.179 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.763, allocations: 52 kB / 1.179 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.7659, allocations: 0.9868 MB / 1.18 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000756/0.7667, allocations: 0.5723 MB / 1.181 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.7673, allocations: 420.4 kB / 1.181 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.7706, allocations: 2.646 MB / 1.184 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7706, allocations: 0 / 1.184 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7707, allocations: 0 / 1.184 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.574e-05/0.7707, allocations: 0 / 1.184 GB, free: 9.887 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004628/0.7754, allocations: 2.448 MB / 1.186 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7754, allocations: 15.98 kB / 1.186 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/0.7793, allocations: 0.5822 MB / 1.187 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.7836, allocations: 3.329 MB / 1.19 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.7837, allocations: 127.4 kB / 1.19 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.784, allocations: 175.9 kB / 1.19 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/0.7874, allocations: 1.933 MB / 1.192 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.7875, allocations: 0 / 1.192 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.7877, allocations: 79.98 kB / 1.192 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.7877, allocations: 40 kB / 1.192 GB, free: 1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/0.7912, allocations: 2.117 MB / 1.194 GB, free: 14.88 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009579/0.8008, allocations: 6.399 MB / 1.2 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.8041, allocations: 1.876 MB / 1.202 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.8043, allocations: 69.23 kB / 1.202 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.806, allocations: 1.011 MB / 1.203 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.477e-06/0.806, allocations: 0 / 1.203 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146): time 0.00678/0.8128, allocations: 3.018 MB / 1.206 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.8129, allocations: 201.2 kB / 1.207 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004542/0.8175, allocations: 4.075 MB / 1.21 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.8178, allocations: 57.7 kB / 1.211 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.8185, allocations: 0.8985 MB / 1.211 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.8189, allocations: 488.9 kB / 1.212 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.819, allocations: 28 kB / 1.212 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8191, allocations: 353.9 kB / 1.212 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.8203, allocations: 0.5843 MB / 1.213 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.8216, allocations: 0.7969 MB / 1.214 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.8228, allocations: 0.6662 MB / 1.214 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8228, allocations: 0 / 1.214 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003839/0.8266, allocations: 1.799 MB / 1.216 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.8267, allocations: 7.938 kB / 1.216 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.8267, allocations: 4 kB / 1.216 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.8277, allocations: 212.2 kB / 1.216 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.8293, allocations: 339.5 kB / 1.217 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00547/0.8348, allocations: 6.839 MB / 1.223 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.8366, allocations: 200.8 kB / 1.223 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.8367, allocations: 51.91 kB / 1.223 GB, free: 15.71 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * 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.0009401/0.8376, allocations: 497.5 kB / 1.224 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.838, allocations: 189.7 kB / 1.224 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/0.8424, allocations: 2.177 MB / 1.226 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.8425, allocations: 16 kB / 1.226 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8425, allocations: 4 kB / 1.226 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.8425, allocations: 7.969 kB / 1.226 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/0.8491, allocations: 3.973 MB / 1.23 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.8491, allocations: 0 / 1.23 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.8507, allocations: 331.8 kB / 1.23 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009548/0.8516, allocations: 212.1 kB / 1.231 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.8518, allocations: 43.97 kB / 1.231 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005364/0.8572, allocations: 6.886 MB / 1.237 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8572, allocations: 7.969 kB / 1.237 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.8616, allocations: 2.212 MB / 1.24 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.8628, allocations: 0.5292 MB / 1.24 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.8631, allocations: 32 kB / 1.24 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.8645, allocations: 154.8 kB / 1.24 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.8647, allocations: 125 kB / 1.24 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.8649, allocations: 75.94 kB / 1.241 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003214/0.8681, allocations: 3.133 MB / 1.244 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8681, allocations: 0 / 1.244 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002328/0.8705, allocations: 0.6625 MB / 1.244 GB, free: 9.527 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001745/0.8722, allocations: 0.7577 MB / 1.245 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003621/0.8759, allocations: 2.066 MB / 1.247 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.8759, allocations: 4.625 kB / 1.247 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.8781, allocations: 1.45 MB / 1.248 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.8805, allocations: 497.1 kB / 1.249 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4617/1.342, allocations: 4.779 MB / 1.254 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/1.344, allocations: 1.579 MB / 1.255 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002341/1.346, allocations: 0.531 MB / 1.256 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005925/1.347, allocations: 190.2 kB / 1.256 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.014e-06/1.347, allocations: 0 / 1.256 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.05131/1.398, allocations: 31.21 MB / 1.286 GB, free: 213 MB / 0.9981 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