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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001519/0.001519, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 192.1 kB / 16.53 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 70.14 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2379, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.15/0.3879, allocations: 168.5 MB / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.4072, allocations: 17.35 MB / 1.234 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.4086, allocations: 31.81 kB / 1.234 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.4105, allocations: 0.5661 MB / 1.235 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004862/0.4154, allocations: 1.795 MB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.4187, allocations: 1.424 MB / 1.238 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003065/0.4218, allocations: 2.867 MB / 1.241 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.4242, allocations: 1.937 MB / 1.243 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003364/0.4276, allocations: 1.419 MB / 1.244 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.4291, allocations: 1.124 MB / 1.245 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005225/0.4297, allocations: 224 kB / 1.245 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.4325, allocations: 1.525 MB / 1.247 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000749/0.4333, allocations: 0.8023 MB / 1.248 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.4493/0.8826, allocations: 1.275 MB / 1.249 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.8877, allocations: 3.674 MB / 1.253 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8877, allocations: 0 / 1.253 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8877, allocations: 2.75 kB / 1.253 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.678e-05/0.8878, allocations: 0 / 1.253 GB, free: 8.309 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.00423/0.892, allocations: 2.946 MB / 1.255 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.8921, allocations: 10.84 kB / 1.255 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/0.8923, allocations: 243.5 kB / 1.256 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.8957, allocations: 0.5771 MB / 1.256 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.8988, allocations: 3.403 MB / 1.26 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.8989, allocations: 129.3 kB / 1.26 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.8991, allocations: 165.2 kB / 1.26 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.902, allocations: 1.961 MB / 1.262 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.902, allocations: 2.719 kB / 1.262 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.9022, allocations: 73.59 kB / 1.262 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.9022, allocations: 41.19 kB / 1.262 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.9057, allocations: 2.114 MB / 1.264 GB, free: 6.059 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.009005/0.9147, allocations: 6.763 MB / 1.271 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.918, allocations: 2.133 MB / 1.273 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.9192, allocations: 0.7784 MB / 1.273 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/0.9197, allocations: 431 kB / 1.274 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.9213, allocations: 1.015 MB / 1.275 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.006e-06/0.9213, allocations: 0 / 1.275 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006332/0.9276, allocations: 3.002 MB / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.9277, allocations: 198.4 kB / 1.278 GB, free: 18.01 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/0.9316, allocations: 4.099 MB / 1.282 GB, free: 17.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.9318, allocations: 60.22 kB / 1.282 GB, free: 17.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/0.9323, allocations: 0.8974 MB / 1.283 GB, free: 17.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.9326, allocations: 481.4 kB / 1.283 GB, free: 17.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.933, allocations: 241.1 kB / 1.284 GB, free: 17.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9331, allocations: 354.5 kB / 1.284 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.9341, allocations: 0.5839 MB / 1.284 GB, free: 16.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.9353, allocations: 0.8134 MB / 1.285 GB, free: 16.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.9375, allocations: 1.331 MB / 1.287 GB, free: 16.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.9375, allocations: 1.719 kB / 1.287 GB, free: 16.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003572/0.9411, allocations: 1.8 MB / 1.288 GB, free: 16.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.9411, allocations: 6.5 kB / 1.288 GB, free: 16.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.9412, allocations: 1.406 kB / 1.288 GB, free: 16.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009658/0.9421, allocations: 212.5 kB / 1.289 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.9435, allocations: 338.3 kB / 1.289 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/0.9484, allocations: 7.321 MB / 1.296 GB, free: 9.641 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9498, allocations: 172.6 kB / 1.296 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.9499, allocations: 52.33 kB / 1.296 GB, free: 9.582 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.0007808/0.9507, allocations: 494.6 kB / 1.297 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.9511, allocations: 193.3 kB / 1.297 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/0.9551, allocations: 2.165 MB / 1.299 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.9552, allocations: 18.53 kB / 1.299 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9552, allocations: 0 / 1.299 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.9552, allocations: 5.578 kB / 1.299 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/0.961, allocations: 4.139 MB / 1.303 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.961, allocations: 0.9062 kB / 1.303 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.9624, allocations: 322.5 kB / 1.303 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007737/0.9631, allocations: 202.9 kB / 1.304 GB, free: 8.723 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.9633, allocations: 40.59 kB / 1.304 GB, free: 8.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004819/0.9681, allocations: 7.363 MB / 1.311 GB, free: 1.938 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9681, allocations: 0 / 1.311 GB, free: 1.938 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.9716, allocations: 2.028 MB / 1.313 GB, free: 1.617 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007369/0.9724, allocations: 0.5147 MB / 1.313 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/0.9727, allocations: 26.66 kB / 1.313 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.974, allocations: 109.9 kB / 1.313 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.9742, allocations: 116 kB / 1.314 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.9743, allocations: 68.05 kB / 1.314 GB, free: 1.402 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002433/0.9767, allocations: 3.147 MB / 1.317 GB, free: 1.293 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9767, allocations: 1.062 kB / 1.317 GB, free: 1.293 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001672/0.9784, allocations: 0.6995 MB / 1.317 GB, free: 1.184 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.005375/0.9838, allocations: 3.24 MB / 1.32 GB, free: 236 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004545/0.9883, allocations: 2.508 MB / 1.323 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9884, allocations: 3.219 kB / 1.323 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.9902, allocations: 1.419 MB / 1.324 GB, free: 15.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.9923, allocations: 0.5603 MB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/1.019, allocations: 22.76 MB / 1.347 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.02, allocations: 1.541 MB / 1.349 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002009/1.023, allocations: 0.5267 MB / 1.349 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.024, allocations: 0.9044 MB / 1.35 GB, free: 8.629 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/1.024, allocations: 3.25 kB / 1.35 GB, free: 8.629 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.172/2.195, allocations: 49.13 MB / 1.398 GB, free: 14.18 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/15.06, allocations: 12.33 kB / 1.398 GB, free: 14.18 MB / 1.076 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