Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.008366/0.008366, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001213/0.001213, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.712/2.712, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.314, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001882/0.3159, allocations: 0.5661 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.112e-05/0.316, allocations: 7.984 kB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.316, allocations: 0 / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.316, allocations: 7.875 kB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.3161, allocations: 4 kB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.964e-05/0.3161, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.79e-05/0.3162, allocations: 4 kB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.3162, allocations: 64 / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.369e-05/0.3162, allocations: 0 / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.59e-05/0.3163, allocations: 0 / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.3163, allocations: 0 / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-06/0.3163, allocations: 4 kB / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.3163, allocations: 0 / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.3163, allocations: 4 kB / 1.208 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.493e-05/0.3164, allocations: 7.922 kB / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3164, allocations: 4 kB / 1.208 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3164, allocations: 0 / 1.208 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.3164, allocations: 0 / 1.208 GB, free: 9.535 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002781/0.3167, allocations: 311.6 kB / 1.208 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3167, allocations: 8.625 kB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.3168, allocations: 38.73 kB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.834e-05/0.3168, allocations: 0.9375 kB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3169, allocations: 164.4 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3169, allocations: 4.375 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3169, allocations: 8.312 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.317, allocations: 30.27 kB / 1.208 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.317, allocations: 3.938 kB / 1.208 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.317, allocations: 0 / 1.208 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.317, allocations: 0 / 1.208 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.437e-05/0.3171, allocations: 0 / 1.208 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.3174, allocations: 383.4 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.3175, allocations: 177 kB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.3175, allocations: 80.14 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3175, allocations: 79.31 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.3176, allocations: 105.8 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3176, allocations: 3.938 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.821e-05/0.3177, allocations: 37.69 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.3177, allocations: 130.6 kB / 1.209 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.3178, allocations: 93.86 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.3178, allocations: 25.7 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.3179, allocations: 80.14 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.3179, allocations: 0 / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.3179, allocations: 13.72 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.318, allocations: 319 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-06/0.318, allocations: 4 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.318, allocations: 0 / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.318, allocations: 83.2 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/0.3181, allocations: 79.22 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.005e-05/0.3181, allocations: 29.7 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3182, allocations: 81 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.3182, allocations: 79.22 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.792e-05/0.3183, allocations: 158.6 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.26e-05/0.3183, allocations: 79.22 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.686e-05/0.3183, allocations: 150.6 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.3184, allocations: 79.28 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3184, allocations: 87.2 kB / 1.211 GB, free: 6.348 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 (0): * Single equations (assignments): 0 * 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 9.78e-05/0.3185, allocations: 264.3 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.3186, allocations: 101 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.3186, allocations: 112 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/0.3187, allocations: 180.8 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-05/0.3188, allocations: 184.3 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.898e-05/0.3188, allocations: 180.2 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.3191, allocations: 405.2 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/0.3191, allocations: 109.2 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.3192, allocations: 105 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.788e-05/0.3193, allocations: 180.3 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.235e-05/0.3193, allocations: 184.2 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-05/0.3194, allocations: 176.3 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.19e-05/0.3195, allocations: 184.2 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.3196, allocations: 311.7 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.3197, allocations: 178.1 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.3197, allocations: 184.2 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.3198, allocations: 108.9 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.3199, allocations: 180.3 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.3199, allocations: 104.9 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.32, allocations: 79.28 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.32, allocations: 0 / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002686/0.3202, allocations: 3.938 kB / 1.214 GB, free: 2.688 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 (0): * Single equations (assignments): 0 * 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.0004164/0.3207, allocations: 0.8166 MB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.32e-05/0.3207, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3207, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.3207, allocations: 3.938 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3211, allocations: 461.3 kB / 1.215 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3221, allocations: 1.543 MB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.3224, allocations: 0.6768 MB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.877e-06/0.3224, allocations: 0 / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.3224, allocations: 7.438 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3224, allocations: 0 / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.3382, allocations: 0.9283 MB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.795, allocations: 9.781 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches