Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_11_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.004735/0.004735, allocations: 97.59 kB / 15.73 MB, free: 6 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.001329/0.001329, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.456/2.456, allocations: 469.8 MB / 0.7425 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 71.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2479, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6126/0.8606, allocations: 168.4 MB / 1.385 GB, free: 1.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01914/0.8797, allocations: 17.37 MB / 1.402 GB, free: 3.648 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008841/0.8806, allocations: 31.28 kB / 1.402 GB, free: 3.637 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.8819, allocations: 0.5674 MB / 1.402 GB, free: 3.152 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003661/0.8856, allocations: 1.783 MB / 1.404 GB, free: 1.816 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.8883, allocations: 1.443 MB / 1.405 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002493/0.8908, allocations: 2.893 MB / 1.408 GB, free: 15 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.8928, allocations: 1.952 MB / 1.41 GB, free: 13.7 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.8959, allocations: 1.433 MB / 1.411 GB, free: 12.9 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.8971, allocations: 1.123 MB / 1.413 GB, free: 12.15 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.8974, allocations: 222 kB / 1.413 GB, free: 12.15 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.8997, allocations: 1.551 MB / 1.414 GB, free: 11.41 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005913/0.9003, allocations: 0.8089 MB / 1.415 GB, free: 10.84 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009969/0.9013, allocations: 1.278 MB / 1.416 GB, free: 9.941 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.9048, allocations: 3.759 MB / 1.42 GB, free: 7.355 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9048, allocations: 6.625 kB / 1.42 GB, free: 7.352 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9048, allocations: 0 / 1.42 GB, free: 7.352 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.9049, allocations: 0 / 1.42 GB, free: 7.352 MB / 1.107 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.003988/0.9089, allocations: 3.029 MB / 1.423 GB, free: 5.113 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.9089, allocations: 10.47 kB / 1.423 GB, free: 5.113 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002556/0.9091, allocations: 248.5 kB / 1.423 GB, free: 4.918 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/0.9122, allocations: 0.5851 MB / 1.424 GB, free: 4.637 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/0.9158, allocations: 3.448 MB / 1.427 GB, free: 1.273 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.9159, allocations: 131.4 kB / 1.427 GB, free: 1.145 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.9161, allocations: 164 kB / 1.427 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/0.9191, allocations: 1.961 MB / 1.429 GB, free: 14.97 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.9191, allocations: 7.984 kB / 1.429 GB, free: 14.96 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.9193, allocations: 76 kB / 1.429 GB, free: 14.89 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.9193, allocations: 47.88 kB / 1.429 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.9227, allocations: 2.117 MB / 1.432 GB, free: 12.72 MB / 1.123 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.008132/0.9308, allocations: 6.71 MB / 1.438 GB, free: 5.672 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.9341, allocations: 2.142 MB / 1.44 GB, free: 3.457 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.9353, allocations: 0.7769 MB / 1.441 GB, free: 2.676 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/0.9359, allocations: 433.6 kB / 1.441 GB, free: 2.176 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.9375, allocations: 1.017 MB / 1.442 GB, free: 1.141 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 2.424e-06/0.9375, allocations: 0 / 1.442 GB, free: 1.141 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.006212/0.9437, allocations: 3.009 MB / 1.445 GB, free: 14.02 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.9438, allocations: 197.2 kB / 1.446 GB, free: 13.78 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.948, allocations: 4.094 MB / 1.449 GB, free: 9.684 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.9481, allocations: 57.7 kB / 1.45 GB, free: 9.621 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007017/0.9488, allocations: 0.9115 MB / 1.45 GB, free: 8.699 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.9492, allocations: 0.4919 MB / 1.451 GB, free: 8.203 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.9495, allocations: 242.8 kB / 1.451 GB, free: 7.961 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9497, allocations: 353.9 kB / 1.451 GB, free: 7.609 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.9508, allocations: 0.5882 MB / 1.452 GB, free: 7.02 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.9521, allocations: 0.8125 MB / 1.453 GB, free: 6.145 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.9544, allocations: 1.325 MB / 1.454 GB, free: 4.805 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.9544, allocations: 0 / 1.454 GB, free: 4.805 MB / 1.139 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003561/0.958, allocations: 1.823 MB / 1.456 GB, free: 2.957 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.958, allocations: 4 kB / 1.456 GB, free: 2.953 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.958, allocations: 0 / 1.456 GB, free: 2.953 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009372/0.959, allocations: 208.1 kB / 1.456 GB, free: 2.734 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.9604, allocations: 323.6 kB / 1.456 GB, free: 2.418 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005848/0.9662, allocations: 7.325 MB / 1.464 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.9673, allocations: 177.2 kB / 1.464 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.9674, allocations: 51.97 kB / 1.464 GB, free: 10.17 MB / 1.154 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.0006623/0.9681, allocations: 495.4 kB / 1.464 GB, free: 9.676 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.9684, allocations: 214.6 kB / 1.464 GB, free: 9.465 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/0.9726, allocations: 2.161 MB / 1.467 GB, free: 7.277 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.9727, allocations: 16 kB / 1.467 GB, free: 7.262 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.9727, allocations: 0 / 1.467 GB, free: 7.262 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.9727, allocations: 11.91 kB / 1.467 GB, free: 7.25 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.9788, allocations: 4.133 MB / 1.471 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.9789, allocations: 3.938 kB / 1.471 GB, free: 3.035 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.9802, allocations: 319.5 kB / 1.471 GB, free: 2.723 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007816/0.981, allocations: 204.1 kB / 1.471 GB, free: 2.508 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.841e-05/0.9811, allocations: 39.97 kB / 1.471 GB, free: 2.469 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/0.9868, allocations: 7.367 MB / 1.478 GB, free: 10.4 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9868, allocations: 4 kB / 1.478 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/0.9905, allocations: 2.033 MB / 1.48 GB, free: 8.324 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/0.9912, allocations: 0.5226 MB / 1.481 GB, free: 7.781 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.9914, allocations: 28 kB / 1.481 GB, free: 7.754 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.9926, allocations: 111.9 kB / 1.481 GB, free: 7.645 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.9928, allocations: 113.1 kB / 1.481 GB, free: 7.535 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.9929, allocations: 71.89 kB / 1.481 GB, free: 7.465 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003035/0.996, allocations: 3.145 MB / 1.484 GB, free: 4.328 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.006e-06/0.996, allocations: 0 / 1.484 GB, free: 4.328 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001389/0.9974, allocations: 0.6976 MB / 1.485 GB, free: 3.629 MB / 1.17 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.005989/1.003, allocations: 3.255 MB / 1.488 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003211/1.007, allocations: 2.074 MB / 1.49 GB, free: 14.38 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.007, allocations: 0.5625 kB / 1.49 GB, free: 14.38 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001987/1.009, allocations: 1.43 MB / 1.492 GB, free: 12.88 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.011, allocations: 0.5608 MB / 1.492 GB, free: 12.34 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/1.038, allocations: 21.18 MB / 1.513 GB, free: 6.926 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/1.039, allocations: 1.537 MB / 1.514 GB, free: 5.355 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001404/1.04, allocations: 0.5328 MB / 1.515 GB, free: 4.816 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.041, allocations: 0.9054 MB / 1.516 GB, free: 3.914 MB / 1.201 GB Notification: Performance of SimCode: time 2.51e-07/1.041, allocations: 0 / 1.516 GB, free: 3.914 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.42/17.46, allocations: 49.58 MB / 1.564 GB, free: 2.855 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.22/44.68, allocations: 2.406 kB / 1.564 GB, free: 2.855 MB / 1.248 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches