Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_10_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.004637/0.004637, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001421/0.001421, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.313/2.313, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.91 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2363, allocations: 151.6 MB / 1.166 GB, free: 7.398 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6008/0.8372, allocations: 168.5 MB / 1.331 GB, free: 2.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.8565, allocations: 17.35 MB / 1.348 GB, free: 6.277 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009652/0.8575, allocations: 35.66 kB / 1.348 GB, free: 6.262 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.8588, allocations: 0.5702 MB / 1.348 GB, free: 5.914 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003742/0.8626, allocations: 1.786 MB / 1.35 GB, free: 4.938 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.8654, allocations: 1.447 MB / 1.351 GB, free: 4.156 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.8678, allocations: 2.893 MB / 1.354 GB, free: 2.742 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.8697, allocations: 1.937 MB / 1.356 GB, free: 1.805 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.8728, allocations: 1.43 MB / 1.358 GB, free: 1.176 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.874, allocations: 1.129 MB / 1.359 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.8742, allocations: 222 kB / 1.359 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.8766, allocations: 1.552 MB / 1.36 GB, free: 136 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.8772, allocations: 0.8013 MB / 1.361 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.8783, allocations: 1.281 MB / 1.362 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.882, allocations: 3.763 MB / 1.366 GB, free: 12.6 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.882, allocations: 3.984 kB / 1.366 GB, free: 12.6 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.882, allocations: 0 / 1.366 GB, free: 12.6 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.882, allocations: 0 / 1.366 GB, free: 12.6 MB / 1.045 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.004095/0.8861, allocations: 3.026 MB / 1.369 GB, free: 10.36 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.8862, allocations: 10.12 kB / 1.369 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002648/0.8865, allocations: 244.9 kB / 1.369 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.8897, allocations: 0.5843 MB / 1.37 GB, free: 9.891 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.893, allocations: 3.455 MB / 1.373 GB, free: 8 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.893, allocations: 128.1 kB / 1.373 GB, free: 7.945 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.8932, allocations: 172.4 kB / 1.374 GB, free: 7.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.896, allocations: 1.951 MB / 1.375 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.8961, allocations: 2.594 kB / 1.375 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.8962, allocations: 73.59 kB / 1.375 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.8963, allocations: 40.31 kB / 1.376 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.8994, allocations: 2.121 MB / 1.378 GB, free: 5.727 MB / 1.045 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.0077/0.9071, allocations: 6.721 MB / 1.384 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.91, allocations: 2.134 MB / 1.386 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.9112, allocations: 0.7813 MB / 1.387 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.9117, allocations: 433 kB / 1.387 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.9132, allocations: 1.023 MB / 1.388 GB, free: 14.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 2.775e-06/0.9133, allocations: 0 / 1.388 GB, free: 14.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.005961/0.9192, allocations: 3.012 MB / 1.391 GB, free: 12.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.9193, allocations: 204.2 kB / 1.392 GB, free: 12.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/0.9231, allocations: 4.093 MB / 1.396 GB, free: 9.266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.9233, allocations: 61.7 kB / 1.396 GB, free: 9.199 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000706/0.924, allocations: 0.9116 MB / 1.396 GB, free: 8.277 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.9243, allocations: 499.7 kB / 1.397 GB, free: 7.785 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.9247, allocations: 242.8 kB / 1.397 GB, free: 7.543 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.9249, allocations: 357.9 kB / 1.398 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.926, allocations: 0.5804 MB / 1.398 GB, free: 6.605 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.9273, allocations: 0.8047 MB / 1.399 GB, free: 5.738 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.9296, allocations: 1.337 MB / 1.4 GB, free: 4.387 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9296, allocations: 0 / 1.4 GB, free: 4.387 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003598/0.9332, allocations: 1.816 MB / 1.402 GB, free: 2.547 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9333, allocations: 6.031 kB / 1.402 GB, free: 2.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.9333, allocations: 3.984 kB / 1.402 GB, free: 2.539 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009526/0.9342, allocations: 208.1 kB / 1.402 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9357, allocations: 335.6 kB / 1.403 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/0.9415, allocations: 7.325 MB / 1.41 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.9427, allocations: 167.2 kB / 1.41 GB, free: 9.809 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.9428, allocations: 51.97 kB / 1.41 GB, free: 9.758 MB / 1.076 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.0006562/0.9435, allocations: 489.5 kB / 1.41 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.9438, allocations: 206.6 kB / 1.411 GB, free: 9.066 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/0.948, allocations: 2.161 MB / 1.413 GB, free: 6.879 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.9481, allocations: 23.98 kB / 1.413 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9481, allocations: 4 kB / 1.413 GB, free: 6.852 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.9481, allocations: 7.984 kB / 1.413 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006224/0.9543, allocations: 4.137 MB / 1.417 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9543, allocations: 0 / 1.417 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.9557, allocations: 327.5 kB / 1.417 GB, free: 2.309 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007925/0.9565, allocations: 196.1 kB / 1.417 GB, free: 2.102 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.156e-05/0.9566, allocations: 39.97 kB / 1.417 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005715/0.9623, allocations: 7.367 MB / 1.424 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9623, allocations: 0 / 1.424 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.9661, allocations: 2.026 MB / 1.426 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/0.9668, allocations: 0.5303 MB / 1.427 GB, free: 7.375 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.967, allocations: 28 kB / 1.427 GB, free: 7.348 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.9681, allocations: 118.4 kB / 1.427 GB, free: 7.234 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.9684, allocations: 117.2 kB / 1.427 GB, free: 7.121 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.9685, allocations: 71.95 kB / 1.427 GB, free: 7.051 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00304/0.9716, allocations: 3.141 MB / 1.43 GB, free: 3.918 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9716, allocations: 0 / 1.43 GB, free: 3.918 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001484/0.973, allocations: 0.6976 MB / 1.431 GB, free: 3.219 MB / 1.092 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.005982/0.979, allocations: 3.26 MB / 1.434 GB, free: 108 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003183/0.9822, allocations: 2.07 MB / 1.436 GB, free: 13.97 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9822, allocations: 4.562 kB / 1.436 GB, free: 13.97 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.9842, allocations: 1.422 MB / 1.438 GB, free: 12.48 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.9863, allocations: 0.5565 MB / 1.438 GB, free: 11.95 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/1.013, allocations: 21.17 MB / 1.459 GB, free: 6.527 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.014, allocations: 1.537 MB / 1.46 GB, free: 4.957 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001435/1.016, allocations: 0.5289 MB / 1.461 GB, free: 4.422 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.017, allocations: 0.9053 MB / 1.462 GB, free: 3.516 MB / 1.123 GB Notification: Performance of SimCode: time 1.873e-06/1.017, allocations: 3.938 kB / 1.462 GB, free: 3.512 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.913/2.93, allocations: 49.6 MB / 1.51 GB, free: 2.426 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.51/37.44, allocations: 15.92 kB / 1.51 GB, free: 2.41 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches