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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_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.0009067/0.0009067, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005663/0.005663, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.398/2.398, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 15.56 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1633/0.421, allocations: 163.9 MB / 1.219 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.441, allocations: 17.17 MB / 1.236 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.4424, allocations: 27.81 kB / 1.236 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.4439, allocations: 485 kB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.4482, allocations: 1.589 MB / 1.238 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.4512, allocations: 1.285 MB / 1.239 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003184/0.4544, allocations: 3.117 MB / 1.242 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.4566, allocations: 1.66 MB / 1.244 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.4609, allocations: 1.11 MB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.4621, allocations: 0.9058 MB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.4623, allocations: 52 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.4648, allocations: 1.505 MB / 1.247 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.4654, allocations: 0.6071 MB / 1.248 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000944/0.4663, allocations: 1.066 MB / 1.249 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4756/0.942, allocations: 3.545 MB / 1.252 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.942, allocations: 0 / 1.252 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.585e-06/0.942, allocations: 0 / 1.252 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.13e-05/0.9421, allocations: 0 / 1.252 GB, free: 9.941 MB / 0.9981 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.00366/0.9457, allocations: 2.456 MB / 1.255 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9458, allocations: 13.69 kB / 1.255 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002983/0.9461, allocations: 248.2 kB / 1.255 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.9496, allocations: 0.5835 MB / 1.255 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.9529, allocations: 3.398 MB / 1.259 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.953, allocations: 134.8 kB / 1.259 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.9532, allocations: 166.6 kB / 1.259 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.9562, allocations: 1.973 MB / 1.261 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.9562, allocations: 1.859 kB / 1.261 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.9564, allocations: 73.06 kB / 1.261 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.9564, allocations: 40.88 kB / 1.261 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.9595, allocations: 2.142 MB / 1.263 GB, free: 7.797 MB / 0.9981 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.008896/0.9684, allocations: 6.778 MB / 1.27 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.9719, allocations: 2.147 MB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.9734, allocations: 0.7863 MB / 1.273 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/0.9738, allocations: 430.8 kB / 1.273 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.9755, allocations: 1.023 MB / 1.274 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.256e-06/0.9756, allocations: 0 / 1.274 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006544/0.9821, allocations: 3.044 MB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.9823, allocations: 197.4 kB / 1.277 GB, free: 19.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/0.9868, allocations: 4.102 MB / 1.281 GB, free: 19.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.987, allocations: 59.61 kB / 1.281 GB, free: 19.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005636/0.9876, allocations: 0.8917 MB / 1.282 GB, free: 19.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.9879, allocations: 490.2 kB / 1.283 GB, free: 18.85 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.988, allocations: 93.16 kB / 1.283 GB, free: 18.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9881, allocations: 356.2 kB / 1.283 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.9892, allocations: 0.593 MB / 1.284 GB, free: 18.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.9904, allocations: 0.8206 MB / 1.284 GB, free: 18.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.9926, allocations: 1.352 MB / 1.286 GB, free: 18.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9926, allocations: 0 / 1.286 GB, free: 18.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00357/0.9962, allocations: 1.822 MB / 1.287 GB, free: 18.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9962, allocations: 6.938 kB / 1.287 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9962, allocations: 64 / 1.287 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009469/0.9971, allocations: 213.2 kB / 1.288 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.9986, allocations: 339.9 kB / 1.288 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/1.003, allocations: 6.832 MB / 1.295 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.005, allocations: 197.4 kB / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/1.005, allocations: 52.45 kB / 1.295 GB, free: 11.61 MB / 1.014 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.0009626/1.006, allocations: 498.3 kB / 1.295 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/1.006, allocations: 191.5 kB / 1.296 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003981/1.01, allocations: 2.185 MB / 1.298 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.01, allocations: 15.12 kB / 1.298 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.01, allocations: 6.688 kB / 1.298 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.01, allocations: 6.094 kB / 1.298 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/1.016, allocations: 4.159 MB / 1.302 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.016, allocations: 0 / 1.302 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.017, allocations: 324.5 kB / 1.302 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008209/1.018, allocations: 213.1 kB / 1.302 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/1.018, allocations: 41.92 kB / 1.302 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/1.023, allocations: 6.857 MB / 1.309 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.023, allocations: 3 kB / 1.309 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/1.026, allocations: 2.04 MB / 1.311 GB, free: 4.016 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007516/1.027, allocations: 0.5209 MB / 1.312 GB, free: 3.801 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/1.027, allocations: 34.61 kB / 1.312 GB, free: 3.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.029, allocations: 161.5 kB / 1.312 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/1.029, allocations: 119.4 kB / 1.312 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.029, allocations: 74.42 kB / 1.312 GB, free: 3.773 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002433/1.031, allocations: 3.142 MB / 1.315 GB, free: 3.664 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.031, allocations: 1.75 kB / 1.315 GB, free: 3.664 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001572/1.033, allocations: 0.6972 MB / 1.316 GB, free: 3.559 MB / 1.014 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.004946/1.038, allocations: 3.243 MB / 1.319 GB, free: 2.574 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003357/1.041, allocations: 2.095 MB / 1.321 GB, free: 1.977 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.041, allocations: 2.719 kB / 1.321 GB, free: 1.977 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/1.043, allocations: 1.435 MB / 1.322 GB, free: 1.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/1.045, allocations: 0.5205 MB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02983/1.075, allocations: 23.6 MB / 1.346 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009519/1.076, allocations: 1.546 MB / 1.347 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001882/1.078, allocations: 0.5382 MB / 1.348 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000933/1.079, allocations: 0.9033 MB / 1.349 GB, free: 10.09 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/1.079, allocations: 2.719 kB / 1.349 GB, free: 10.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.462/3.541, allocations: 46.63 MB / 1.394 GB, free: 3.402 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/3.542, allocations: 292.1 kB / 1.395 GB, free: 3.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.705/7.247, allocations: 8 kB / 1.395 GB, free: 3.012 MB / 1.061 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > 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/jenkins1/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