Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.004947/0.004947, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001246/0.001246, allocations: 194 kB / 16.68 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.396/2.396, allocations: 437.1 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 75.88 kB / 1.018 GB, free: 9.785 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6181/0.6199, allocations: 151.6 MB / 1.166 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001551/0.6215, allocations: 0.672 MB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.6223, allocations: 0.7962 MB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.6223, allocations: 4 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.6223, allocations: 3.938 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.6224, allocations: 0 / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.6225, allocations: 7.984 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.702e-05/0.6226, allocations: 27.92 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.319e-05/0.6226, allocations: 8 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.6227, allocations: 15.92 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.669e-05/0.6227, allocations: 15.92 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.6228, allocations: 0 / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.6228, allocations: 4 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.6228, allocations: 3.938 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.6228, allocations: 8 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.746e-05/0.6229, allocations: 23.89 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6229, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.35e-06/0.6229, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.6229, allocations: 3.938 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003968/0.6233, allocations: 339.2 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.6234, allocations: 12.92 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.6234, allocations: 34.73 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.781e-05/0.6234, allocations: 0.9375 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.6235, allocations: 168.3 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.6235, allocations: 8.375 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-06/0.6236, allocations: 384 / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.6237, allocations: 58.22 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6237, allocations: 3.938 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.6237, allocations: 0 / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.6237, allocations: 0 / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.6239, allocations: 39.89 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.6242, allocations: 244.9 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.6243, allocations: 46.5 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.6244, allocations: 19.34 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.6244, allocations: 7.984 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.6245, allocations: 34.56 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6245, allocations: 0 / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003197/0.6248, allocations: 85.58 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.6248, allocations: 51.41 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.6249, allocations: 97.86 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.6249, allocations: 25.7 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.625, allocations: 80.14 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.625, allocations: 11.95 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.625, allocations: 13.7 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6251, allocations: 315 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.6252, allocations: 19.98 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.6253, allocations: 11.98 kB / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.6255, allocations: 44.75 kB / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6255, allocations: 3.938 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.6257, allocations: 77.67 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.6257, allocations: 4 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.6257, allocations: 0 / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.6257, allocations: 3.938 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.6258, allocations: 8 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.6258, allocations: 0 / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.6258, allocations: 7.984 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.6258, allocations: 0 / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 7.931e-05/0.6259, allocations: 113.8 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.626, allocations: 4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.6262, allocations: 76.7 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6262, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6262, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6262, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.6264, allocations: 157.6 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.6264, allocations: 8.031 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.6264, allocations: 7.984 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6264, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.6264, allocations: 7.938 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6265, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6265, allocations: 4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.6267, allocations: 167.4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.6267, allocations: 85.06 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.6268, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.6268, allocations: 7.984 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.6269, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.6269, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.6269, allocations: 87.45 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6269, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001959/0.6271, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 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 (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.0005129/0.6276, allocations: 0.6968 MB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.6278, allocations: 39.94 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6278, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.6279, allocations: 19.97 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.6282, allocations: 8.141 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.6285, allocations: 127 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.6288, allocations: 0.6768 MB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.6288, allocations: 4.125 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.6288, allocations: 7.438 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6288, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9838/1.613, allocations: 1.273 MB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.314/10.93, allocations: 2 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches