Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",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.00865/0.00865, allocations: 103 kB / 15.73 MB, free: 6.035 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.001944/0.001944, allocations: 190 kB / 16.67 MB, free: 5.965 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.018/3.018, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 72.09 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3157, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001933/0.3177, allocations: 0.6634 MB / 1.208 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.3187, allocations: 0.8 MB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.3188, allocations: 4 kB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.3188, allocations: 3.938 kB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.3189, allocations: 0 / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.3191, allocations: 11.92 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.317e-05/0.3191, allocations: 12 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3193, allocations: 15.98 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.3193, allocations: 11.92 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.3194, allocations: 11.98 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3194, allocations: 3.938 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.3194, allocations: 4 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.3195, allocations: 7.938 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.3195, allocations: 8 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.3196, allocations: 23.89 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3196, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3196, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3196, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 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.0004408/0.3201, allocations: 343.7 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3201, allocations: 12.62 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.3201, allocations: 30.75 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.3202, allocations: 0.9375 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3203, allocations: 160.4 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3203, allocations: 4.375 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3203, allocations: 384 / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3205, allocations: 54.23 kB / 1.209 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3205, allocations: 3.938 kB / 1.209 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3205, allocations: 3.938 kB / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3205, allocations: 0 / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3207, allocations: 35.95 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.321, allocations: 248.9 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3212, allocations: 50.42 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.3213, allocations: 20.91 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3213, allocations: 0 / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3213, allocations: 38.5 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3213, allocations: 0 / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.3217, allocations: 81.64 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3218, allocations: 55.41 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.3218, allocations: 93.86 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3219, allocations: 29.7 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.3219, allocations: 84.12 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3219, allocations: 3.906 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.322, allocations: 13.72 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.3221, allocations: 322.9 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.3222, allocations: 15.98 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.3222, allocations: 23.91 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3224, allocations: 40.83 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3224, allocations: 3.938 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.3226, allocations: 65.72 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3226, allocations: 8 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3227, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3227, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.3228, allocations: 7.984 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3228, allocations: 4 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.3228, allocations: 192 / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3228, allocations: 4 kB / 1.211 GB, free: 6.449 MB / 0.9669 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.612e-05/0.3229, allocations: 121.8 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.323, allocations: 7.922 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.3232, allocations: 68.78 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3232, allocations: 0 / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3232, allocations: 0 / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3232, allocations: 0 / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.3234, allocations: 161.5 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3234, allocations: 4.031 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.3235, allocations: 11.98 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3235, allocations: 0 / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3235, allocations: 0 / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3235, allocations: 3.938 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3235, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3238, allocations: 171.4 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.3238, allocations: 77.11 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3238, allocations: 7.984 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.3239, allocations: 4 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.324, allocations: 7.984 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.324, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.324, allocations: 79.28 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.324, allocations: 0 / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002127/0.3242, allocations: 7.938 kB / 1.211 GB, free: 5.633 MB / 0.9669 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.000522/0.3248, allocations: 0.6968 MB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.325, allocations: 43.98 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.325, allocations: 0 / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.3251, allocations: 19.98 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3253, allocations: 3.938 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.3258, allocations: 144.6 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.326, allocations: 0.6807 MB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.3261, allocations: 4.125 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.3261, allocations: 15.38 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3261, allocations: 0 / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.3425, allocations: 1.292 MB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/7.578, allocations: 9.516 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches