Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",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.00123/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001336/0.001336, allocations: 192.8 kB / 16.14 MB, free: 6.719 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.3 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4993, allocations: 140.4 MB / 0.949 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001376/0.5007, allocations: 0.5826 MB / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.843e-05/0.5008, allocations: 20.09 kB / 0.9496 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.5008, allocations: 0 / 0.9496 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.5009, allocations: 4 kB / 0.9496 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.501, allocations: 1.406 kB / 0.9496 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.014e-06/0.501, allocations: 1.281 kB / 0.9496 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.023e-05/0.501, allocations: 2.406 kB / 0.9496 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.5011, allocations: 1.25 kB / 0.9496 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.5011, allocations: 5.156 kB / 0.9496 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.665e-05/0.5011, allocations: 5.172 kB / 0.9497 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.178e-06/0.5011, allocations: 1.094 kB / 0.9497 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-06/0.5011, allocations: 0 / 0.9497 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.5011, allocations: 7.922 kB / 0.9497 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.5012, allocations: 9.188 kB / 0.9497 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.694e-05/0.5012, allocations: 1.25 kB / 0.9497 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5012, allocations: 0 / 0.9497 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5012, allocations: 1.188 kB / 0.9497 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.5012, allocations: 3.938 kB / 0.9497 GB, free: 8.73 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001601/0.5014, allocations: 308.1 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.5014, allocations: 10.16 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.846e-05/0.5014, allocations: 38.73 kB / 0.95 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.626e-05/0.5015, allocations: 4.844 kB / 0.95 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.221e-05/0.5015, allocations: 166.4 kB / 0.9502 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.5015, allocations: 4.375 kB / 0.9502 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-06/0.5015, allocations: 384 / 0.9502 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.602e-05/0.5016, allocations: 44.52 kB / 0.9502 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.5016, allocations: 7.875 kB / 0.9502 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-06/0.5016, allocations: 0 / 0.9502 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5016, allocations: 5.328 kB / 0.9502 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.5016, allocations: 2.594 kB / 0.9502 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.23e-05/0.5017, allocations: 155.8 kB / 0.9504 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.258e-05/0.5018, allocations: 41.75 kB / 0.9504 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.5018, allocations: 15.08 kB / 0.9504 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.5018, allocations: 1.188 kB / 0.9504 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.5018, allocations: 39.91 kB / 0.9505 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.5018, allocations: 0 / 0.9505 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 9.557e-05/0.5019, allocations: 43.11 kB / 0.9505 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.502, allocations: 86.31 kB / 0.9506 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.993e-05/0.502, allocations: 91.36 kB / 0.9507 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-06/0.502, allocations: 25.7 kB / 0.9507 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-06/0.502, allocations: 80.52 kB / 0.9508 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.502, allocations: 11.75 kB / 0.9508 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.5021, allocations: 16.06 kB / 0.9508 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.854e-05/0.5021, allocations: 311.9 kB / 0.9511 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.5021, allocations: 0.8125 kB / 0.9511 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/0.5021, allocations: 17.23 kB / 0.9511 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.5021, allocations: 21.94 kB / 0.9512 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5022, allocations: 1.406 kB / 0.9512 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.601e-05/0.5022, allocations: 38.05 kB / 0.9512 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.5022, allocations: 9.531 kB / 0.9512 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.5022, allocations: 0 / 0.9512 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.5022, allocations: 5.391 kB / 0.9512 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.5023, allocations: 6.766 kB / 0.9512 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.5023, allocations: 1.438 kB / 0.9512 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.5023, allocations: 4 kB / 0.9512 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.5023, allocations: 1.656 kB / 0.9512 GB, free: 6.957 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.5024, allocations: 115.2 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.5024, allocations: 5.031 kB / 0.9513 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-05/0.5025, allocations: 49.62 kB / 0.9514 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.5025, allocations: 5.312 kB / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5025, allocations: 0 / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5025, allocations: 1.25 kB / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.217e-05/0.5025, allocations: 155.2 kB / 0.9515 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5025, allocations: 5 kB / 0.9515 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.5026, allocations: 3.75 kB / 0.9515 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5026, allocations: 3.938 kB / 0.9516 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.5026, allocations: 5.812 kB / 0.9516 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5026, allocations: 4 kB / 0.9516 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5026, allocations: 1.219 kB / 0.9516 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.046e-05/0.5026, allocations: 70.8 kB / 0.9516 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.5027, allocations: 78.67 kB / 0.9517 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.5027, allocations: 5.188 kB / 0.9517 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.5027, allocations: 1.375 kB / 0.9517 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.5027, allocations: 7.922 kB / 0.9517 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.5027, allocations: 1.656 kB / 0.9517 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.184e-05/0.5027, allocations: 76.41 kB / 0.9518 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5028, allocations: 0 / 0.9518 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001672/0.5029, allocations: 1.25 kB / 0.9518 GB, free: 6.305 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.5031, allocations: 0.6147 MB / 0.9524 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.721e-05/0.5032, allocations: 10.28 kB / 0.9524 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.5032, allocations: 160 / 0.9524 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.5032, allocations: 7.906 kB / 0.9524 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.5033, allocations: 3.859 kB / 0.9524 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.5035, allocations: 126 kB / 0.9525 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.5036, allocations: 0.6762 MB / 0.9532 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.371e-05/0.5036, allocations: 0 / 0.9532 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.5036, allocations: 8.969 kB / 0.9532 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5036, allocations: 4 kB / 0.9532 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7745/1.278, allocations: 0.7887 MB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/1.278, allocations: 191.5 kB / 0.9542 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/3.344, allocations: 3.938 kB / 0.9542 GB, free: 4.109 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches