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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 108.5 kB / 16.41 MB, free: 6.441 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.001668/0.001668, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7023, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1797/0.8821, allocations: 167.2 MB / 1.252 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.9026, allocations: 17.21 MB / 1.269 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.9047, allocations: 31.81 kB / 1.269 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.9066, allocations: 0.543 MB / 1.269 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.9114, allocations: 1.726 MB / 1.271 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.9149, allocations: 1.433 MB / 1.272 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003144/0.918, allocations: 2.689 MB / 1.275 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.9205, allocations: 2.006 MB / 1.277 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.9241, allocations: 1.433 MB / 1.278 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.9255, allocations: 1.093 MB / 1.279 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004559/0.926, allocations: 220 kB / 1.28 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.9288, allocations: 1.56 MB / 1.281 GB, free: 8.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007341/0.9296, allocations: 0.8024 MB / 1.282 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.9309, allocations: 1.181 MB / 1.283 GB, free: 6.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004288/0.9352, allocations: 3.551 MB / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9352, allocations: 4 kB / 1.287 GB, free: 2.953 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9352, allocations: 0 / 1.287 GB, free: 2.953 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.207e-05/0.9353, allocations: 0 / 1.287 GB, free: 2.953 MB / 1.014 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.005186/0.9405, allocations: 2.755 MB / 1.289 GB, free: 140 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.9406, allocations: 8.031 kB / 1.289 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003959/0.9445, allocations: 0.559 MB / 1.29 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.9472, allocations: 1.639 MB / 1.291 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.9473, allocations: 131.4 kB / 1.292 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.9476, allocations: 168 kB / 1.292 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003516/0.9511, allocations: 1.957 MB / 1.294 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.9511, allocations: 4 kB / 1.294 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.9513, allocations: 79.98 kB / 1.294 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.9513, allocations: 40 kB / 1.294 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.955, allocations: 2.113 MB / 1.296 GB, free: 9.336 MB / 1.029 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.009064/0.9641, allocations: 5.811 MB / 1.301 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.9675, allocations: 2.129 MB / 1.304 GB, free: 1.051 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.9689, allocations: 0.769 MB / 1.304 GB, free: 284 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/0.9695, allocations: 433.6 kB / 1.305 GB, free: 15.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/0.9713, allocations: 1.013 MB / 1.306 GB, free: 14.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.577e-06/0.9713, allocations: 0 / 1.306 GB, free: 14.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.00689/0.9782, allocations: 2.985 MB / 1.309 GB, free: 11.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.9784, allocations: 197.2 kB / 1.309 GB, free: 11.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.9807, allocations: 1.833 MB / 1.311 GB, free: 9.566 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.9808, allocations: 65.69 kB / 1.311 GB, free: 9.496 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000696/0.9815, allocations: 0.847 MB / 1.311 GB, free: 8.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.982, allocations: 481 kB / 1.312 GB, free: 8.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.9824, allocations: 262.7 kB / 1.312 GB, free: 7.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9826, allocations: 357.9 kB / 1.313 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.9838, allocations: 0.5999 MB / 1.313 GB, free: 6.941 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.9852, allocations: 0.813 MB / 1.314 GB, free: 6.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.9877, allocations: 1.357 MB / 1.315 GB, free: 4.711 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9878, allocations: 0 / 1.315 GB, free: 4.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004371/0.9921, allocations: 1.842 MB / 1.317 GB, free: 2.844 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.9922, allocations: 7.938 kB / 1.317 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.9922, allocations: 0 / 1.317 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.9933, allocations: 208.1 kB / 1.317 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.995, allocations: 347.5 kB / 1.318 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005894/1.001, allocations: 7.309 MB / 1.325 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.002, allocations: 174.8 kB / 1.325 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.003, allocations: 47.97 kB / 1.325 GB, free: 10.05 MB / 1.061 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.0008714/1.003, allocations: 491.2 kB / 1.325 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/1.004, allocations: 189.7 kB / 1.326 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/1.008, allocations: 2.152 MB / 1.328 GB, free: 7.188 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.008, allocations: 7.969 kB / 1.328 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.008, allocations: 0 / 1.328 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008535/1.009, allocations: 478.1 kB / 1.328 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/1.01, allocations: 31.98 kB / 1.328 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.011, allocations: 106.1 kB / 1.328 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/1.011, allocations: 109.2 kB / 1.328 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004708/1.016, allocations: 2.024 MB / 1.33 GB, free: 4.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004656/1.02, allocations: 2.876 MB / 1.333 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001253/1.022, allocations: 0.7481 MB / 1.334 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001638/1.023, allocations: 1.317 MB / 1.335 GB, free: 15.45 MB / 1.076 GB Notification: Performance of Backend: time 4.8e-07/1.023, allocations: 0 / 1.335 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005143/1.029, allocations: 2.428 MB / 1.338 GB, free: 13.19 MB / 1.076 GB Notification: Performance of SimCode: time 0.005987/1.035, allocations: 4.007 MB / 1.341 GB, free: 9.145 MB / 1.076 GB Notification: Performance of Templates: time 0.05478/1.089, allocations: 34.34 MB / 1.375 GB, free: 7.059 MB / 1.107 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches