Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_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.001439/0.001439, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.634/2.634, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 68.97 kB / 0.9087 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2555, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001699/0.2572, allocations: 0.6652 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.2581, allocations: 0.804 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.2581, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.2581, allocations: 3.938 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.2582, allocations: 11.91 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.514e-05/0.2583, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.2583, allocations: 23.98 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.528e-05/0.2584, allocations: 8 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.2585, allocations: 15.86 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.64e-05/0.2585, allocations: 8 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2585, allocations: 4 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.2585, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.2585, allocations: 11.92 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.2586, allocations: 7.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.549e-05/0.2586, allocations: 23.95 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.2586, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2586, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.2586, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 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.0003688/0.259, allocations: 335.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.2591, allocations: 12.03 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.2591, allocations: 34.75 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.722e-05/0.2591, allocations: 4.844 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2592, allocations: 168.4 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.2592, allocations: 384 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.2592, allocations: 384 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.2594, allocations: 54.17 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2594, allocations: 7.938 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2594, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2594, allocations: 3.938 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.2596, allocations: 31.97 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.2599, allocations: 245 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.26, allocations: 46.44 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.2601, allocations: 28.84 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.2601, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.2601, allocations: 30.56 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.464e-06/0.2601, allocations: 3.984 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000311/0.2605, allocations: 89.55 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.2605, allocations: 51.41 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.282e-05/0.2606, allocations: 97.84 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2606, allocations: 25.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.2606, allocations: 88.14 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.2607, allocations: 3.906 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.2607, allocations: 9.719 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2608, allocations: 327 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.2609, allocations: 15.92 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.261, allocations: 15.98 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2611, allocations: 40.81 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2611, allocations: 3.938 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.2613, allocations: 65.73 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.2613, allocations: 4 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.2614, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.2614, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.2614, allocations: 11.98 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.2615, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.2615, allocations: 7.984 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.2615, allocations: 7.938 kB / 1.067 GB, free: 10.52 MB / 0.8262 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.122e-05/0.2616, allocations: 121.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.2616, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.2618, allocations: 64.78 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2618, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2619, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.2619, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.262, allocations: 161.6 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.262, allocations: 4.031 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.2621, allocations: 11.92 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2621, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.2621, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2621, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2621, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.2624, allocations: 171.4 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2624, allocations: 81.02 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.2624, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.2625, allocations: 7.984 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.2625, allocations: 3.938 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.2625, allocations: 8 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.2626, allocations: 75.28 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2626, allocations: 0 / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002021/0.2628, allocations: 7.938 kB / 1.068 GB, free: 9.715 MB / 0.8262 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.0005353/0.2633, allocations: 0.7064 MB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.2635, allocations: 36 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2635, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.2636, allocations: 19.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2639, allocations: 9.547 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.2642, allocations: 135.2 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2645, allocations: 0.6769 MB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.2645, allocations: 3.984 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.2645, allocations: 15.44 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2645, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.482/1.746, allocations: 1.234 MB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.73, allocations: 11.66 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches