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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001032/0.001032, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.269/1.269, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.257/2.257, allocations: 390.2 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.564, allocations: 140.4 MB / 0.9492 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1584/0.7225, allocations: 164.9 MB / 1.11 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.741, allocations: 17.02 MB / 1.127 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.7421, allocations: 27.81 kB / 1.127 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.7435, allocations: 469.2 kB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003952/0.7475, allocations: 1.546 MB / 1.129 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.7504, allocations: 1.289 MB / 1.13 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00264/0.7531, allocations: 2.67 MB / 1.133 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.7556, allocations: 2.01 MB / 1.135 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004242/0.7599, allocations: 1.395 MB / 1.136 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.7612, allocations: 1.132 MB / 1.137 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004321/0.7617, allocations: 224 kB / 1.137 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.764, allocations: 1.56 MB / 1.139 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007971/0.7649, allocations: 0.8101 MB / 1.14 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.7659, allocations: 1.243 MB / 1.141 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.7694, allocations: 3.672 MB / 1.145 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7694, allocations: 0 / 1.145 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7694, allocations: 4 kB / 1.145 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.7695, allocations: 0 / 1.145 GB, free: 9.328 MB / 0.9044 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.004143/0.7736, allocations: 2.9 MB / 1.147 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7736, allocations: 12.03 kB / 1.147 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/0.7739, allocations: 252.9 kB / 1.148 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.7773, allocations: 0.5666 MB / 1.148 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.7805, allocations: 3.394 MB / 1.151 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.7807, allocations: 135.3 kB / 1.152 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.7809, allocations: 172 kB / 1.152 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.7839, allocations: 1.956 MB / 1.154 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.7839, allocations: 0 / 1.154 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.7841, allocations: 76 kB / 1.154 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.7841, allocations: 40 kB / 1.154 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/0.7873, allocations: 2.113 MB / 1.156 GB, free: 13.54 MB / 0.92 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.007732/0.795, allocations: 6.391 MB / 1.162 GB, free: 6.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.7982, allocations: 2.137 MB / 1.164 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.7993, allocations: 0.7686 MB / 1.165 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/0.7999, allocations: 437.6 kB / 1.165 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/0.8015, allocations: 1.009 MB / 1.166 GB, free: 2.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.745e-06/0.8015, allocations: 0 / 1.166 GB, free: 2.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006299/0.8078, allocations: 3 MB / 1.169 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/0.8079, allocations: 197.2 kB / 1.169 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.8121, allocations: 4.098 MB / 1.173 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.8122, allocations: 57.7 kB / 1.174 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/0.8129, allocations: 0.8947 MB / 1.174 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.8133, allocations: 488.9 kB / 1.175 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.8137, allocations: 238.9 kB / 1.175 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8138, allocations: 353.9 kB / 1.175 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.8149, allocations: 0.5804 MB / 1.176 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.8161, allocations: 0.8086 MB / 1.177 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.8183, allocations: 1.337 MB / 1.178 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8183, allocations: 4 kB / 1.178 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003559/0.8219, allocations: 1.795 MB / 1.18 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8219, allocations: 10.03 kB / 1.18 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8219, allocations: 0 / 1.18 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009884/0.8229, allocations: 212.2 kB / 1.18 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.8244, allocations: 331.5 kB / 1.18 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.8298, allocations: 7.325 MB / 1.188 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.8311, allocations: 178.8 kB / 1.188 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.8312, allocations: 47.97 kB / 1.188 GB, free: 11.45 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (145): * Single equations (assignments): 140 * 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.000808/0.8321, allocations: 493.5 kB / 1.188 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.8325, allocations: 193.6 kB / 1.188 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004367/0.8368, allocations: 2.177 MB / 1.191 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.8369, allocations: 16 kB / 1.191 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.8369, allocations: 4 kB / 1.191 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.8369, allocations: 7.969 kB / 1.191 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006549/0.8434, allocations: 4.147 MB / 1.195 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8435, allocations: 0 / 1.195 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.8449, allocations: 319.6 kB / 1.195 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008328/0.8457, allocations: 200.1 kB / 1.195 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.8458, allocations: 39.97 kB / 1.195 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005345/0.8512, allocations: 7.355 MB / 1.202 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8512, allocations: 3.938 kB / 1.202 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/0.8551, allocations: 2.038 MB / 1.204 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.8559, allocations: 0.506 MB / 1.205 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.8562, allocations: 35.92 kB / 1.205 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.8576, allocations: 132.3 kB / 1.205 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.8579, allocations: 113.2 kB / 1.205 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.858, allocations: 79.88 kB / 1.205 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003074/0.8611, allocations: 3.141 MB / 1.208 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8611, allocations: 0 / 1.208 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001664/0.8628, allocations: 0.6703 MB / 1.209 GB, free: 4.93 MB / 0.9669 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.005704/0.8685, allocations: 3.233 MB / 1.212 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005016/0.8735, allocations: 2.504 MB / 1.214 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.8735, allocations: 4.547 kB / 1.214 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.8755, allocations: 1.426 MB / 1.216 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.8776, allocations: 0.5391 MB / 1.216 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03323/0.9109, allocations: 23.64 MB / 1.239 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.9121, allocations: 1.553 MB / 1.241 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001904/0.914, allocations: 0.5209 MB / 1.242 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.9152, allocations: 0.9054 MB / 1.242 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/0.9152, allocations: 0 / 1.242 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.074/1.989, allocations: 48 MB / 1.289 GB, free: 284.4 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.989, allocations: 285.1 kB / 1.29 GB, free: 284 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/5.43, allocations: 0 / 1.29 GB, free: 284 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > 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