Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_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.0008817/0.0008817, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006695/0.006695, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 462.7 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002817, allocations: 12.88 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2208, allocations: 159.6 MB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0006777/0.2215, allocations: 404.5 kB / 1.059 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.2223, allocations: 0.804 MB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.2223, allocations: 4 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.2223, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.2224, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.551e-05/0.2225, allocations: 11.98 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.694e-05/0.2225, allocations: 19.92 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.2226, allocations: 8 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.2226, allocations: 7.938 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.96e-05/0.2227, allocations: 7.984 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2227, allocations: 0 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-06/0.2227, allocations: 0 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.2227, allocations: 7.938 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.2227, allocations: 33.69 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5e-05/0.2228, allocations: 23.89 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2228, allocations: 4 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2228, allocations: 0 / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.405e-06/0.2228, allocations: 0 / 1.06 GB, free: 3.461 MB / 0.8106 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.0003286/0.2231, allocations: 339.8 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2232, allocations: 11.97 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.52e-05/0.2232, allocations: 38.75 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.607e-05/0.2232, allocations: 0.9375 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.2233, allocations: 168.3 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.2233, allocations: 4.375 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.2234, allocations: 384 / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2235, allocations: 58.23 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.2235, allocations: 3.938 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.2235, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2235, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.2237, allocations: 47.95 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.224, allocations: 252.8 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.2241, allocations: 54.48 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.2242, allocations: 24.91 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2242, allocations: 4 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2242, allocations: 30.56 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2242, allocations: 4 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003213/0.2246, allocations: 97.58 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.2246, allocations: 55.53 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.457e-05/0.2247, allocations: 105.8 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.2247, allocations: 25.7 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.2247, allocations: 84.14 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.2247, allocations: 3.906 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.2247, allocations: 9.719 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.2248, allocations: 314.8 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.2249, allocations: 23.98 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.225, allocations: 23.97 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2252, allocations: 52.89 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2252, allocations: 3.938 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.2254, allocations: 77.59 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.2254, allocations: 4 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2254, allocations: 4.031 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.2254, allocations: 4 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.237e-05/0.2255, allocations: 11.98 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.2255, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.2255, allocations: 7.906 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2256, allocations: 4 kB / 1.062 GB, free: 1.309 MB / 0.8106 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 6.34e-05/0.2256, allocations: 117.8 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.2256, allocations: 0 / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.2259, allocations: 84.72 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2259, allocations: 0 / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2259, allocations: 0 / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2259, allocations: 8.031 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.226, allocations: 157.6 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.226, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.2261, allocations: 11.98 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2261, allocations: 0 / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2261, allocations: 3.938 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2261, allocations: 0 / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2261, allocations: 0 / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.2263, allocations: 179.5 kB / 1.062 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.2264, allocations: 85.03 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.2264, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.2265, allocations: 15.97 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.2265, allocations: 3.984 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2265, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.2265, allocations: 83.28 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2265, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001965/0.2267, allocations: 7.938 kB / 1.063 GB, free: 480 kB / 0.8106 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.0004395/0.2272, allocations: 0.7084 MB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.2274, allocations: 55.92 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.2274, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.2275, allocations: 19.98 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2277, allocations: 4 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.228, allocations: 137.4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.2282, allocations: 0.677 MB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.2282, allocations: 4 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.2282, allocations: 7.438 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2282, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/1.291, allocations: 1.009 MB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/1.291, allocations: 196.6 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.852, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches