Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger",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.007138/0.007138, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.002171/0.002171, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.289/2.289, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 59.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2359, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002926/0.2389, allocations: 2.307 MB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5799/0.8188, allocations: 152 MB / 1.317 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.8191, allocations: 7.594 kB / 1.317 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.8193, allocations: 46.38 kB / 1.317 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.8196, allocations: 95.61 kB / 1.317 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.8203, allocations: 303.8 kB / 1.317 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.8207, allocations: 431.4 kB / 1.318 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.8209, allocations: 106.9 kB / 1.318 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.8221, allocations: 283.8 kB / 1.318 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.8223, allocations: 181 kB / 1.318 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.8224, allocations: 30.41 kB / 1.318 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.8229, allocations: 291.5 kB / 1.319 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.823, allocations: 76.75 kB / 1.319 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.8231, allocations: 161.1 kB / 1.319 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.8237, allocations: 0.4913 MB / 1.319 GB, free: 11.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.8237, allocations: 1.031 kB / 1.319 GB, free: 11.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.697e-06/0.8237, allocations: 4 kB / 1.319 GB, free: 11.31 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.8237, allocations: 3.938 kB / 1.319 GB, free: 11.31 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001271/0.825, allocations: 0.7132 MB / 1.32 GB, free: 10.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.825, allocations: 8.688 kB / 1.32 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.8251, allocations: 63.06 kB / 1.32 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.8275, allocations: 260.9 kB / 1.32 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.8278, allocations: 302.3 kB / 1.321 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.8278, allocations: 19.31 kB / 1.321 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.8279, allocations: 31.84 kB / 1.321 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.8291, allocations: 429.7 kB / 1.321 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8292, allocations: 0 / 1.321 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.8292, allocations: 9.656 kB / 1.321 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.8292, allocations: 15.39 kB / 1.321 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.8312, allocations: 0.524 MB / 1.322 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.8337, allocations: 1.136 MB / 1.323 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.8357, allocations: 465.9 kB / 1.323 GB, free: 9.871 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009455/0.8367, allocations: 231.5 kB / 1.323 GB, free: 9.797 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.8367, allocations: 7.406 kB / 1.323 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.8368, allocations: 38.28 kB / 1.323 GB, free: 9.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 1.263e-06/0.8368, allocations: 0 / 1.323 GB, free: 9.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.01384/0.8506, allocations: 1.73 MB / 1.325 GB, free: 9.227 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.8507, allocations: 58.67 kB / 1.325 GB, free: 9.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.8509, allocations: 299.6 kB / 1.325 GB, free: 9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.851, allocations: 31.92 kB / 1.325 GB, free: 8.965 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.8511, allocations: 173.4 kB / 1.326 GB, free: 8.816 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.243e-05/0.8512, allocations: 89.81 kB / 1.326 GB, free: 8.746 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.8513, allocations: 73.44 kB / 1.326 GB, free: 8.711 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8515, allocations: 343.4 kB / 1.326 GB, free: 8.383 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009321/0.8524, allocations: 205.3 kB / 1.326 GB, free: 8.324 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009356/0.8533, allocations: 263.8 kB / 1.327 GB, free: 8.203 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.8552, allocations: 427 kB / 1.327 GB, free: 8.051 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8552, allocations: 4 kB / 1.327 GB, free: 8.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006102/0.8613, allocations: 0.9062 MB / 1.328 GB, free: 7.789 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.8613, allocations: 5.562 kB / 1.328 GB, free: 7.789 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8613, allocations: 0 / 1.328 GB, free: 7.789 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.8629, allocations: 276.2 kB / 1.328 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.8633, allocations: 71.03 kB / 1.328 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.8759, allocations: 4.086 MB / 1.332 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.8766, allocations: 74.66 kB / 1.332 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.8766, allocations: 18.47 kB / 1.332 GB, free: 4.621 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.8768, allocations: 150.7 kB / 1.332 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.8769, allocations: 31.83 kB / 1.332 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/0.8831, allocations: 0.9583 MB / 1.333 GB, free: 4.176 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8831, allocations: 6.453 kB / 1.333 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8831, allocations: 4 kB / 1.333 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8831, allocations: 3.484 kB / 1.333 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.8836, allocations: 419.5 kB / 1.334 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8836, allocations: 0 / 1.334 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.8839, allocations: 61.3 kB / 1.334 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.8855, allocations: 272.4 kB / 1.334 GB, free: 3.812 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.8855, allocations: 10.69 kB / 1.334 GB, free: 3.812 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.898, allocations: 4.083 MB / 1.338 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.898, allocations: 1.406 kB / 1.338 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006067/0.9041, allocations: 0.9626 MB / 1.339 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.9041, allocations: 112.7 kB / 1.339 GB, free: 280 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.9042, allocations: 6.844 kB / 1.339 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.9048, allocations: 43.8 kB / 1.339 GB, free: 268 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.9049, allocations: 19 kB / 1.339 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.9049, allocations: 23.66 kB / 1.339 GB, free: 256 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001922/0.9051, allocations: 223.3 kB / 1.339 GB, free: 132 kB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9051, allocations: 1.5 kB / 1.339 GB, free: 132 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004382/0.9056, allocations: 114.1 kB / 1.34 GB, free: 116 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006443/0.912, allocations: 1.52 MB / 1.341 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.9144, allocations: 0.7272 MB / 1.342 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9144, allocations: 1.094 kB / 1.342 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.9158, allocations: 0.4959 MB / 1.342 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.9163, allocations: 122.9 kB / 1.342 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.9327, allocations: 4.389 MB / 1.347 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.933, allocations: 0.7707 MB / 1.347 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003043/0.9334, allocations: 76.16 kB / 1.347 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.9335, allocations: 101.2 kB / 1.348 GB, free: 11.57 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.9336, allocations: 1 kB / 1.348 GB, free: 11.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.857/3.79, allocations: 16.66 MB / 1.364 GB, free: 3.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.91/23.7, allocations: 10.7 kB / 1.364 GB, free: 3.234 MB / 1.029 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches