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.001307/0.001307, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.732/2.732, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.91 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5995/0.6015, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2044/0.8059, allocations: 168.5 MB / 1.182 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.832, allocations: 17.35 MB / 1.199 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.8345, allocations: 27.81 kB / 1.199 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.8365, allocations: 0.57 MB / 1.199 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006841/0.8433, allocations: 1.78 MB / 1.201 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.8476, allocations: 1.431 MB / 1.202 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004454/0.8521, allocations: 2.871 MB / 1.205 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003032/0.8551, allocations: 1.94 MB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004448/0.8596, allocations: 1.421 MB / 1.209 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.8614, allocations: 1.124 MB / 1.21 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004573/0.8618, allocations: 220 kB / 1.21 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.8653, allocations: 1.525 MB / 1.211 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008765/0.8662, allocations: 0.7946 MB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.8677, allocations: 1.228 MB / 1.213 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005732/0.8734, allocations: 3.548 MB / 1.217 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8735, allocations: 0 / 1.217 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8735, allocations: 0 / 1.217 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.595e-05/0.8736, allocations: 0 / 1.217 GB, free: 5.441 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.005591/0.8791, allocations: 2.782 MB / 1.22 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.8792, allocations: 12.03 kB / 1.22 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00386/0.8831, allocations: 0.5551 MB / 1.22 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.8859, allocations: 1.608 MB / 1.222 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.886, allocations: 135.3 kB / 1.222 GB, free: 236 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.8863, allocations: 164 kB / 1.222 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.89, allocations: 1.964 MB / 1.224 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.89, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.8902, allocations: 79.98 kB / 1.224 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.8902, allocations: 40 kB / 1.224 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.8942, allocations: 2.113 MB / 1.226 GB, free: 11.82 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.009892/0.9041, allocations: 6.263 MB / 1.232 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/0.9078, allocations: 2.122 MB / 1.234 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.9092, allocations: 0.7763 MB / 1.235 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/0.9099, allocations: 437.5 kB / 1.235 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.9119, allocations: 1.017 MB / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.467e-06/0.9119, allocations: 0 / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007501/0.9194, allocations: 2.993 MB / 1.239 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.9196, allocations: 197.2 kB / 1.24 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.9222, allocations: 1.826 MB / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.9224, allocations: 61.7 kB / 1.241 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008278/0.9232, allocations: 0.847 MB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004664/0.9237, allocations: 484.9 kB / 1.243 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/0.9241, allocations: 258.7 kB / 1.243 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9243, allocations: 353.9 kB / 1.243 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.9255, allocations: 0.6077 MB / 1.244 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.9271, allocations: 0.8169 MB / 1.245 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.9299, allocations: 1.36 MB / 1.246 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.9299, allocations: 0 / 1.246 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00462/0.9345, allocations: 1.834 MB / 1.248 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.9346, allocations: 11.94 kB / 1.248 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.9346, allocations: 4.062 kB / 1.248 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.9357, allocations: 204.1 kB / 1.248 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.9374, allocations: 347.5 kB / 1.248 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5581/1.495, allocations: 7.326 MB / 1.255 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.498, allocations: 168 kB / 1.256 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/1.498, allocations: 56.12 kB / 1.256 GB, free: 226.4 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.001458/1.5, allocations: 496.4 kB / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/1.5, allocations: 182 kB / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00575/1.506, allocations: 2.146 MB / 1.258 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.506, allocations: 19.25 kB / 1.258 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.506, allocations: 2.125 kB / 1.258 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/1.506, allocations: 8.406 kB / 1.258 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008078/1.514, allocations: 4.015 MB / 1.262 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.514, allocations: 0.75 kB / 1.262 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.516, allocations: 321.7 kB / 1.263 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009285/1.517, allocations: 203.2 kB / 1.263 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/1.517, allocations: 40.86 kB / 1.263 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/1.522, allocations: 7.356 MB / 1.27 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.522, allocations: 0 / 1.27 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005765/1.528, allocations: 2.006 MB / 1.272 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.529, allocations: 473.3 kB / 1.272 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/1.529, allocations: 36.25 kB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.53, allocations: 107.7 kB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/1.531, allocations: 119.5 kB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.531, allocations: 70.36 kB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002056/1.533, allocations: 1.308 MB / 1.274 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.533, allocations: 0 / 1.274 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002514/1.536, allocations: 0.6838 MB / 1.275 GB, free: 215.4 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.002436/1.538, allocations: 0.7636 MB / 1.275 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005756/1.544, allocations: 2.552 MB / 1.278 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.544, allocations: 2.719 kB / 1.278 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.546, allocations: 1.424 MB / 1.279 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/1.549, allocations: 0.5344 MB / 1.28 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007252/1.556, allocations: 3.908 MB / 1.284 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.557, allocations: 1.54 MB / 1.285 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00202/1.559, allocations: 0.5011 MB / 1.286 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/1.56, allocations: 172.4 kB / 1.286 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.56, allocations: 2.516 kB / 1.286 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.048/1.608, allocations: 32.16 MB / 1.317 GB, free: 183.3 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=400 -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