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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001411/0.001411, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001617/0.001617, allocations: 191 kB / 17.29 MB, free: 5.516 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.27 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2308, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.627/0.8578, allocations: 167.2 MB / 1.114 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.8763, allocations: 17.2 MB / 1.131 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.878, allocations: 29.91 kB / 1.131 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.8795, allocations: 0.5341 MB / 1.132 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.8841, allocations: 1.691 MB / 1.133 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.8874, allocations: 1.429 MB / 1.135 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00293/0.8904, allocations: 2.684 MB / 1.137 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.8925, allocations: 2.001 MB / 1.139 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/0.8958, allocations: 1.394 MB / 1.141 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.897, allocations: 1.096 MB / 1.142 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003115/0.8973, allocations: 221.4 kB / 1.142 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.9003, allocations: 1.557 MB / 1.144 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006429/0.901, allocations: 0.8021 MB / 1.144 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009495/0.902, allocations: 1.194 MB / 1.146 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.9066, allocations: 3.537 MB / 1.149 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9066, allocations: 4 kB / 1.149 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9066, allocations: 1.094 kB / 1.149 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.742e-05/0.9066, allocations: 3.938 kB / 1.149 GB, free: 1.762 MB / 0.8575 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.004713/0.9114, allocations: 2.755 MB / 1.152 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9114, allocations: 9.781 kB / 1.152 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.9151, allocations: 0.5594 MB / 1.152 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.9179, allocations: 1.644 MB / 1.154 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.918, allocations: 126.9 kB / 1.154 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.9183, allocations: 169 kB / 1.154 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/0.9217, allocations: 1.959 MB / 1.156 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.9217, allocations: 4 kB / 1.156 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.9219, allocations: 74.69 kB / 1.156 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.9219, allocations: 40.62 kB / 1.156 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003637/0.9256, allocations: 2.112 MB / 1.158 GB, free: 13.57 MB / 0.8731 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.009647/0.9352, allocations: 5.808 MB / 1.164 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.9385, allocations: 2.128 MB / 1.166 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.9399, allocations: 0.7716 MB / 1.167 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005858/0.9405, allocations: 425.9 kB / 1.167 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.9422, allocations: 1.019 MB / 1.168 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.085e-06/0.9422, allocations: 0 / 1.168 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006899/0.9491, allocations: 2.986 MB / 1.171 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.9492, allocations: 201 kB / 1.171 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.9516, allocations: 1.822 MB / 1.173 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/0.9519, allocations: 64.3 kB / 1.173 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007425/0.9526, allocations: 0.8506 MB / 1.174 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.9531, allocations: 480.2 kB / 1.174 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004846/0.9536, allocations: 256.3 kB / 1.175 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.9538, allocations: 358.7 kB / 1.175 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.9549, allocations: 0.6072 MB / 1.176 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.9562, allocations: 0.81 MB / 1.176 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.9586, allocations: 1.358 MB / 1.178 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.9586, allocations: 0 / 1.178 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003946/0.9625, allocations: 1.842 MB / 1.179 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.9626, allocations: 15.97 kB / 1.179 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9626, allocations: 0 / 1.179 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.9636, allocations: 207.9 kB / 1.18 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.9653, allocations: 344.6 kB / 1.18 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00601/0.9713, allocations: 7.315 MB / 1.187 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.9731, allocations: 180.6 kB / 1.187 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.9733, allocations: 51.25 kB / 1.187 GB, free: 9.555 MB / 0.8887 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.001058/0.9744, allocations: 485.3 kB / 1.188 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/0.975, allocations: 191.7 kB / 1.188 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/0.9797, allocations: 2.137 MB / 1.19 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.9797, allocations: 19.47 kB / 1.19 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.9797, allocations: 2.469 kB / 1.19 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.9797, allocations: 7.969 kB / 1.19 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007428/0.9872, allocations: 4.009 MB / 1.194 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.9872, allocations: 2.812 kB / 1.194 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.9887, allocations: 333.1 kB / 1.194 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008825/0.9896, allocations: 197.9 kB / 1.195 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.9897, allocations: 44.08 kB / 1.195 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005819/0.9956, allocations: 7.35 MB / 1.202 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9956, allocations: 4.125 kB / 1.202 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/1, allocations: 2.019 MB / 1.204 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.002, allocations: 469 kB / 1.204 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004839/1.002, allocations: 34.09 kB / 1.204 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.004, allocations: 103.2 kB / 1.204 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.004, allocations: 122.3 kB / 1.204 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.004, allocations: 66.45 kB / 1.204 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001981/1.006, allocations: 1.312 MB / 1.206 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/1.006, allocations: 0 / 1.206 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002036/1.008, allocations: 0.6635 MB / 1.206 GB, free: 11.41 MB / 0.9044 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.001947/1.01, allocations: 0.7588 MB / 1.207 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003674/1.014, allocations: 2.108 MB / 1.209 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.014, allocations: 6.359 kB / 1.209 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/1.016, allocations: 1.422 MB / 1.211 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.019, allocations: 0.535 MB / 1.211 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/1.027, allocations: 3.946 MB / 1.215 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/1.028, allocations: 1.545 MB / 1.216 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001984/1.03, allocations: 0.4929 MB / 1.217 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/1.031, allocations: 175.3 kB / 1.217 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of SimCode: time 1.062e-06/1.031, allocations: 0 / 1.217 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of Templates: time 0.05285/1.084, allocations: 31.31 MB / 1.248 GB, free: 4.445 MB / 0.9356 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 -s gbode -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