Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001241/0.001241, allocations: 197.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 63.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6374/0.6388, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1944/0.8333, allocations: 166.1 MB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02456/0.8579, allocations: 17.43 MB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.8599, allocations: 27.81 kB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.8622, allocations: 485 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005964/0.8682, allocations: 1.594 MB / 1.198 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.8719, allocations: 1.269 MB / 1.199 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003965/0.8759, allocations: 3.12 MB / 1.202 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.8789, allocations: 1.802 MB / 1.204 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.8844, allocations: 1.27 MB / 1.205 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.8862, allocations: 1.093 MB / 1.206 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000659/0.8869, allocations: 120 kB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/0.891, allocations: 1.583 MB / 1.208 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.8921, allocations: 0.7008 MB / 1.209 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.8941, allocations: 1.134 MB / 1.21 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005754/0.8999, allocations: 3.512 MB / 1.213 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8999, allocations: 8 kB / 1.213 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.965e-06/0.8999, allocations: 0 / 1.213 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.241e-05/0.9, allocations: 3.938 kB / 1.213 GB, free: 8.789 MB / 0.9669 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.00493/0.9049, allocations: 2.778 MB / 1.216 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.905, allocations: 16.02 kB / 1.216 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/0.9091, allocations: 0.559 MB / 1.216 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.9127, allocations: 1.604 MB / 1.218 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.9129, allocations: 131.4 kB / 1.218 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.9132, allocations: 168 kB / 1.218 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.9171, allocations: 1.956 MB / 1.22 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.9171, allocations: 0 / 1.22 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.9173, allocations: 72 kB / 1.22 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.9173, allocations: 44 kB / 1.22 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/0.9209, allocations: 2.124 MB / 1.222 GB, free: 15.17 MB / 0.9825 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.009427/0.9303, allocations: 6.22 MB / 1.228 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/0.9336, allocations: 2.133 MB / 1.231 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.9349, allocations: 0.7686 MB / 1.231 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006923/0.9356, allocations: 433.6 kB / 1.232 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00192/0.9375, allocations: 1.021 MB / 1.233 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.456e-06/0.9375, allocations: 4 kB / 1.233 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007157/0.9447, allocations: 2.989 MB / 1.236 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.9448, allocations: 197.2 kB / 1.236 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.9472, allocations: 1.826 MB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.9474, allocations: 61.7 kB / 1.238 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00075/0.9481, allocations: 0.8508 MB / 1.238 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.9486, allocations: 484.9 kB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004186/0.9491, allocations: 262.8 kB / 1.239 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.9492, allocations: 357.9 kB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.9503, allocations: 0.5999 MB / 1.24 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.9517, allocations: 0.811 MB / 1.241 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/0.9541, allocations: 1.36 MB / 1.242 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.9541, allocations: 3.938 kB / 1.242 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004009/0.9581, allocations: 1.834 MB / 1.244 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.9581, allocations: 7.938 kB / 1.244 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.9582, allocations: 4 kB / 1.244 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.9592, allocations: 216.1 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.9609, allocations: 339.5 kB / 1.245 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005656/0.9665, allocations: 6.82 MB / 1.251 GB, free: 120 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5529/1.519, allocations: 178.8 kB / 1.251 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003427/1.52, allocations: 56.42 kB / 1.251 GB, free: 229.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001551/1.521, allocations: 499.8 kB / 1.252 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005572/1.522, allocations: 182.3 kB / 1.252 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004978/1.527, allocations: 2.15 MB / 1.254 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/1.527, allocations: 19.11 kB / 1.254 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.527, allocations: 2.469 kB / 1.254 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/1.527, allocations: 7.641 kB / 1.254 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008269/1.535, allocations: 4.019 MB / 1.258 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/1.535, allocations: 0 / 1.258 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.537, allocations: 324.5 kB / 1.258 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/1.538, allocations: 212.4 kB / 1.259 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/1.538, allocations: 40.58 kB / 1.259 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/1.543, allocations: 6.831 MB / 1.265 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.543, allocations: 3.844 kB / 1.265 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/1.548, allocations: 2.007 MB / 1.267 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.549, allocations: 474.9 kB / 1.268 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/1.55, allocations: 36.11 kB / 1.268 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.551, allocations: 132.1 kB / 1.268 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/1.552, allocations: 116 kB / 1.268 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/1.552, allocations: 78.05 kB / 1.268 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002153/1.554, allocations: 1.303 MB / 1.269 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.554, allocations: 2.438 kB / 1.269 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002103/1.556, allocations: 0.6907 MB / 1.27 GB, free: 219.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/1.558, allocations: 0.7581 MB / 1.271 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003505/1.561, allocations: 2.1 MB / 1.273 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.561, allocations: 5.75 kB / 1.273 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.563, allocations: 1.423 MB / 1.274 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.566, allocations: 0.5057 MB / 1.275 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/1.573, allocations: 4.743 MB / 1.279 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/1.574, allocations: 1.543 MB / 1.281 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002076/1.576, allocations: 0.5005 MB / 1.281 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/1.577, allocations: 172.2 kB / 1.282 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.577, allocations: 0 / 1.282 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04379/1.62, allocations: 30.9 MB / 1.312 GB, free: 188.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches