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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.00395/0.00395, allocations: 100.2 kB / 15.73 MB, free: 5.602 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.001049/0.001049, allocations: 192.4 kB / 16.68 MB, free: 5.523 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.222/1.222, 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 12.0.0-master/package.mo): time 2.457/2.457, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 66.33 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2765, allocations: 162.3 MB / 1.242 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00161/0.2781, allocations: 0.5802 MB / 1.242 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.579e-05/0.2782, allocations: 0 / 1.242 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.2782, allocations: 0 / 1.242 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.2782, allocations: 3.938 kB / 1.242 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.188e-05/0.2783, allocations: 0 / 1.242 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.816e-05/0.2783, allocations: 0 / 1.242 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.2784, allocations: 11.98 kB / 1.242 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.2784, allocations: 3.984 kB / 1.242 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.484e-05/0.2784, allocations: 7.938 kB / 1.242 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.421e-05/0.2784, allocations: 0 / 1.242 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.2785, allocations: 0 / 1.242 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-06/0.2785, allocations: 0 / 1.242 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.2785, allocations: 4 kB / 1.242 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.2785, allocations: 0 / 1.242 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.384e-05/0.2786, allocations: 1.406 kB / 1.242 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2786, allocations: 0 / 1.242 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2786, allocations: 0 / 1.242 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.2786, allocations: 4 kB / 1.242 GB, free: 8.293 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.0002796/0.2789, allocations: 317.6 kB / 1.243 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2789, allocations: 8.031 kB / 1.243 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.2789, allocations: 34.69 kB / 1.243 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.732e-05/0.279, allocations: 8.891 kB / 1.243 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2791, allocations: 164.3 kB / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.2791, allocations: 8.25 kB / 1.243 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.2791, allocations: 384 / 1.243 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/0.2792, allocations: 34.27 kB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2792, allocations: 7.922 kB / 1.243 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-06/0.2792, allocations: 3.984 kB / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2792, allocations: 0 / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.197e-05/0.2792, allocations: 0 / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.2795, allocations: 375.5 kB / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.2796, allocations: 181 kB / 1.244 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.2797, allocations: 84.14 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.2797, allocations: 75.28 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.2798, allocations: 109.9 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2798, allocations: 0 / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.184e-05/0.2798, allocations: 30.02 kB / 1.244 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.2799, allocations: 130.7 kB / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.28, allocations: 93.86 kB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.28, allocations: 25.7 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.28, allocations: 84.14 kB / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.28, allocations: 0 / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.2801, allocations: 17.7 kB / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2802, allocations: 314.8 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-06/0.2802, allocations: 128 / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-06/0.2802, allocations: 4 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.2802, allocations: 75.28 kB / 1.245 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-05/0.2803, allocations: 79.22 kB / 1.245 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.27e-05/0.2803, allocations: 29.7 kB / 1.245 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.2804, allocations: 80.84 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.2804, allocations: 83.22 kB / 1.245 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.411e-05/0.2805, allocations: 154.6 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.2805, allocations: 91.2 kB / 1.245 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.827e-05/0.2806, allocations: 150.6 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.2807, allocations: 76.77 kB / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.2807, allocations: 83.22 kB / 1.245 GB, free: 5.102 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 0.0001158/0.2808, allocations: 264.3 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.2809, allocations: 105 kB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.2809, allocations: 116 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.889e-05/0.281, allocations: 180.3 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.91e-05/0.2811, allocations: 180.2 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.53e-05/0.2812, allocations: 176.3 kB / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.2814, allocations: 409.2 kB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.2815, allocations: 108.9 kB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.2815, allocations: 101 kB / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.965e-05/0.2816, allocations: 188.1 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.2816, allocations: 180.3 kB / 1.247 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.736e-05/0.2817, allocations: 180.6 kB / 1.247 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.735e-05/0.2818, allocations: 184.2 kB / 1.248 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.2819, allocations: 311.7 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.282, allocations: 182.1 kB / 1.248 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/0.2821, allocations: 184.3 kB / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.2822, allocations: 104.9 kB / 1.248 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.2823, allocations: 180.3 kB / 1.249 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.2823, allocations: 104.9 kB / 1.249 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.2824, allocations: 83.27 kB / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2824, allocations: 0 / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002367/0.2826, allocations: 0 / 1.249 GB, free: 1.434 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.0004903/0.2831, allocations: 0.8093 MB / 1.25 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.595e-05/0.2832, allocations: 3.938 kB / 1.25 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2832, allocations: 0 / 1.25 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/0.2832, allocations: 3.984 kB / 1.25 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.2836, allocations: 459.7 kB / 1.25 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2848, allocations: 1.532 MB / 1.251 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.2851, allocations: 0.6729 MB / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.285e-06/0.2852, allocations: 0 / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.2852, allocations: 7.438 kB / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2852, allocations: 0 / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.445/1.73, allocations: 0.9216 MB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.9, allocations: 4.5 kB / 1.253 GB, free: 13 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=400 --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