Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.804/2.804, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.91 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7819, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001375/0.7832, allocations: 0.5165 MB / 1.322 GB, free: 24.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001089/0.7833, allocations: 18.31 kB / 1.322 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.7834, allocations: 4 kB / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.7834, allocations: 2.781 kB / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.7835, allocations: 7.312 kB / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.7835, allocations: 0 / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.7836, allocations: 2.594 kB / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.7836, allocations: 4.453 kB / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.7836, allocations: 0 / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.7837, allocations: 13.69 kB / 1.322 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.7837, allocations: 0 / 1.322 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.04e-06/0.7837, allocations: 3.938 kB / 1.322 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.7837, allocations: 0 / 1.322 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.7837, allocations: 10.64 kB / 1.322 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 4.151e-05/0.7837, allocations: 0 / 1.322 GB, free: 24.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7838, allocations: 0 / 1.322 GB, free: 24.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7838, allocations: 0 / 1.322 GB, free: 24.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.7838, allocations: 6.312 kB / 1.322 GB, free: 24.43 MB / 1.061 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.0002119/0.784, allocations: 311.4 kB / 1.322 GB, free: 24.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.784, allocations: 14.39 kB / 1.322 GB, free: 24.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.477e-05/0.784, allocations: 192 / 1.322 GB, free: 24.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.593e-05/0.784, allocations: 38.69 kB / 1.322 GB, free: 24.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.915e-05/0.7841, allocations: 7.75 kB / 1.322 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.024e-05/0.7841, allocations: 168.3 kB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/0.7841, allocations: 384 / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-06/0.7841, allocations: 2.844 kB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.883e-05/0.7842, allocations: 45.62 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7842, allocations: 3.984 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.7842, allocations: 0 / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7842, allocations: 2.719 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.7842, allocations: 7.938 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.777e-05/0.7843, allocations: 156.8 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/0.7844, allocations: 38.44 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.7844, allocations: 13.66 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.7844, allocations: 2.688 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.7844, allocations: 45.64 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.7844, allocations: 0 / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001178/0.7846, allocations: 44.05 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.7846, allocations: 80.48 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.38e-05/0.7846, allocations: 92.58 kB / 1.323 GB, free: 23.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.7846, allocations: 26.08 kB / 1.323 GB, free: 23.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-06/0.7846, allocations: 84.14 kB / 1.323 GB, free: 23.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.7846, allocations: 7.953 kB / 1.323 GB, free: 23.08 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.7847, allocations: 12.03 kB / 1.323 GB, free: 23.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.341e-05/0.7847, allocations: 313.1 kB / 1.323 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.7847, allocations: 3.141 kB / 1.323 GB, free: 22.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.7847, allocations: 18.91 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.7847, allocations: 20.53 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7848, allocations: 2.25 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.905e-05/0.7848, allocations: 45.03 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.7848, allocations: 9.406 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7848, allocations: 0 / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.7848, allocations: 2.812 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.7849, allocations: 10.47 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.7849, allocations: 0 / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.7849, allocations: 4.062 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.7849, allocations: 2.938 kB / 1.324 GB, free: 22.66 MB / 1.061 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.63e-05/0.7849, allocations: 111.1 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.785, allocations: 6.656 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.785, allocations: 48.8 kB / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.785, allocations: 0 / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7851, allocations: 0 / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7851, allocations: 6.906 kB / 1.324 GB, free: 22.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.068e-05/0.7851, allocations: 149.1 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7851, allocations: 2.938 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/0.7851, allocations: 2.594 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7851, allocations: 3.938 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.7851, allocations: 0 / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7851, allocations: 2.562 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7851, allocations: 0 / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.131e-05/0.7852, allocations: 75.59 kB / 1.324 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.7852, allocations: 85 kB / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.7852, allocations: 5.891 kB / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.7852, allocations: 0 / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.7853, allocations: 0 / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.7853, allocations: 2.719 kB / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.293e-05/0.7853, allocations: 75.28 kB / 1.324 GB, free: 22.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.7853, allocations: 4.125 kB / 1.324 GB, free: 22.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001781/0.7855, allocations: 3.156 kB / 1.324 GB, free: 22.04 MB / 1.061 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.0001978/0.7856, allocations: 0.6035 MB / 1.325 GB, free: 21.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.224e-05/0.7857, allocations: 15.84 kB / 1.325 GB, free: 21.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7857, allocations: 0 / 1.325 GB, free: 21.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.015e-05/0.7857, allocations: 10.72 kB / 1.325 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.7859, allocations: 2.812 kB / 1.325 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.7861, allocations: 119.6 kB / 1.325 GB, free: 21.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.7862, allocations: 0.6717 MB / 1.326 GB, free: 20.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.7862, allocations: 10.94 kB / 1.326 GB, free: 20.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.7862, allocations: 10.62 kB / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.7862, allocations: 0 / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.8013, allocations: 0.9784 MB / 1.327 GB, free: 20.17 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.88, allocations: 5.516 kB / 1.327 GB, free: 20.17 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.811366893991362]