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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005827/0.005827, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001292/0.001292, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.591/2.591, allocations: 472.6 MB / 0.7453 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 75.88 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7921, allocations: 159.9 MB / 1.226 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1761/0.9682, allocations: 168.5 MB / 1.39 GB, free: 4.586 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.9905, allocations: 17.36 MB / 1.407 GB, free: 3.18 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.993, allocations: 31.81 kB / 1.407 GB, free: 3.148 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.9951, allocations: 0.5777 MB / 1.408 GB, free: 2.566 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005987/1.001, allocations: 1.785 MB / 1.409 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004101/1.005, allocations: 1.443 MB / 1.411 GB, free: 15.34 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004268/1.009, allocations: 2.883 MB / 1.414 GB, free: 12.45 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/1.013, allocations: 1.952 MB / 1.416 GB, free: 10.44 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/1.017, allocations: 1.435 MB / 1.417 GB, free: 9.047 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/1.019, allocations: 1.12 MB / 1.418 GB, free: 7.922 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0008461/1.02, allocations: 220 kB / 1.418 GB, free: 7.707 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/1.024, allocations: 1.556 MB / 1.42 GB, free: 6.148 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001129/1.025, allocations: 0.7907 MB / 1.421 GB, free: 5.355 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/1.027, allocations: 1.228 MB / 1.422 GB, free: 4.121 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004933/1.032, allocations: 3.631 MB / 1.425 GB, free: 488 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.032, allocations: 0 / 1.425 GB, free: 488 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.653e-06/1.032, allocations: 4 kB / 1.425 GB, free: 484 kB / 1.139 GB Notification: Performance of Transformations before backend: time 3.524e-05/1.032, allocations: 0 / 1.425 GB, free: 484 kB / 1.139 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.004592/1.037, allocations: 2.872 MB / 1.428 GB, free: 13.53 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.037, allocations: 8.031 kB / 1.428 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/1.04, allocations: 0.576 MB / 1.429 GB, free: 12.95 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/1.043, allocations: 1.652 MB / 1.43 GB, free: 11.24 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/1.043, allocations: 127.4 kB / 1.43 GB, free: 11.12 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/1.043, allocations: 168 kB / 1.431 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/1.046, allocations: 1.96 MB / 1.432 GB, free: 8.941 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/1.046, allocations: 0 / 1.432 GB, free: 8.941 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/1.047, allocations: 80 kB / 1.433 GB, free: 8.863 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/1.047, allocations: 40 kB / 1.433 GB, free: 8.824 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/1.05, allocations: 2.116 MB / 1.435 GB, free: 6.703 MB / 1.154 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.009035/1.059, allocations: 6.199 MB / 1.441 GB, free: 164 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/1.063, allocations: 2.132 MB / 1.443 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/1.064, allocations: 0.7725 MB / 1.444 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/1.065, allocations: 425.6 kB / 1.444 GB, free: 12.69 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/1.066, allocations: 1.021 MB / 1.445 GB, free: 11.65 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.266e-06/1.066, allocations: 4 kB / 1.445 GB, free: 11.64 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.00687/1.073, allocations: 3.001 MB / 1.448 GB, free: 8.531 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/1.073, allocations: 193.2 kB / 1.448 GB, free: 8.297 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/1.076, allocations: 1.837 MB / 1.45 GB, free: 6.449 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/1.076, allocations: 57.7 kB / 1.45 GB, free: 6.387 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008206/1.077, allocations: 0.86 MB / 1.451 GB, free: 5.516 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005743/1.077, allocations: 0.4996 MB / 1.451 GB, free: 5.012 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/1.078, allocations: 250.8 kB / 1.451 GB, free: 4.762 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002288/1.078, allocations: 361.9 kB / 1.452 GB, free: 4.402 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/1.079, allocations: 0.6038 MB / 1.452 GB, free: 3.797 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/1.081, allocations: 0.8131 MB / 1.453 GB, free: 2.938 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/1.083, allocations: 1.353 MB / 1.455 GB, free: 1.57 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.083, allocations: 3.984 kB / 1.455 GB, free: 1.566 MB / 1.17 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004047/1.087, allocations: 1.847 MB / 1.456 GB, free: 15.7 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.087, allocations: 15.88 kB / 1.456 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.087, allocations: 0 / 1.456 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.088, allocations: 212.1 kB / 1.457 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.09, allocations: 339.6 kB / 1.457 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/1.096, allocations: 7.324 MB / 1.464 GB, free: 7.098 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.098, allocations: 167.2 kB / 1.464 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.098, allocations: 59.95 kB / 1.464 GB, free: 6.875 MB / 1.186 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.0009218/1.099, allocations: 487.2 kB / 1.465 GB, free: 6.391 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/1.099, allocations: 194.8 kB / 1.465 GB, free: 6.199 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/1.104, allocations: 2.149 MB / 1.467 GB, free: 4.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.104, allocations: 12 kB / 1.467 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.104, allocations: 4 kB / 1.467 GB, free: 4.004 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.104, allocations: 11.97 kB / 1.467 GB, free: 3.992 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006767/1.111, allocations: 4.022 MB / 1.471 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.111, allocations: 3.938 kB / 1.471 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.112, allocations: 319.6 kB / 1.471 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008561/1.113, allocations: 200.1 kB / 1.471 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.801e-05/1.113, allocations: 43.97 kB / 1.472 GB, free: 15.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006139/1.119, allocations: 7.349 MB / 1.479 GB, free: 7.273 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.119, allocations: 3.938 kB / 1.479 GB, free: 7.27 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/1.124, allocations: 2.025 MB / 1.481 GB, free: 5.203 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/1.125, allocations: 487.2 kB / 1.481 GB, free: 4.707 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/1.125, allocations: 35.98 kB / 1.481 GB, free: 4.672 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.126, allocations: 97.61 kB / 1.481 GB, free: 4.578 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.126, allocations: 125.1 kB / 1.481 GB, free: 4.457 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.126, allocations: 71.94 kB / 1.481 GB, free: 4.387 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00176/1.128, allocations: 1.306 MB / 1.483 GB, free: 3.086 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.128, allocations: 0 / 1.483 GB, free: 3.086 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001718/1.13, allocations: 0.6937 MB / 1.483 GB, free: 2.391 MB / 1.201 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.001753/1.132, allocations: 0.7625 MB / 1.484 GB, free: 1.812 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003609/1.135, allocations: 2.113 MB / 1.486 GB, free: 15.64 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.135, allocations: 4.562 kB / 1.486 GB, free: 15.63 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/1.137, allocations: 1.426 MB / 1.488 GB, free: 14.14 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/1.14, allocations: 0.5482 MB / 1.488 GB, free: 13.61 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/1.147, allocations: 3.912 MB / 1.492 GB, free: 9.656 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.148, allocations: 1.541 MB / 1.493 GB, free: 8.082 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001557/1.149, allocations: 0.5124 MB / 1.494 GB, free: 7.562 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/1.15, allocations: 171.4 kB / 1.494 GB, free: 7.395 MB / 1.217 GB Notification: Performance of SimCode: time 1.644e-06/1.15, allocations: 0 / 1.494 GB, free: 7.395 MB / 1.217 GB Notification: Performance of Templates: time 0.05537/1.205, allocations: 32.46 MB / 1.526 GB, free: 7.277 MB / 1.248 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches