Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 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.001159/0.001159, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.59/2.59, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 64 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2557, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001517/0.2572, allocations: 0.5432 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 2.216e-05/0.2573, allocations: 8 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.2573, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.2573, allocations: 3.828 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.817e-06/0.2573, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 1.154e-05/0.2574, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.142e-05/0.2574, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.787e-05/0.2574, allocations: 4 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-06/0.2574, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-06/0.2574, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.909e-06/0.2575, allocations: 7.938 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-06/0.2575, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.579e-06/0.2575, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.358e-06/0.2575, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 3.465e-05/0.2575, allocations: 11.92 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2575, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2575, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.404e-06/0.2575, allocations: 0 / 1.065 GB, free: 13.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002215/0.2578, allocations: 309.1 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.528e-05/0.2578, allocations: 8.031 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.2578, allocations: 34.75 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.105e-05/0.2578, allocations: 4.922 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.2579, allocations: 164.4 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.2579, allocations: 4.375 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-06/0.258, allocations: 384 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.073e-05/0.258, allocations: 26.27 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.258, allocations: 3.938 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-06/0.258, allocations: 0 / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.258, allocations: 4 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-06/0.258, allocations: 7.938 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.2583, allocations: 383.5 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.2584, allocations: 169.1 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.2584, allocations: 84.17 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.2584, allocations: 79.28 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.2585, allocations: 109.8 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.345e-06/0.2585, allocations: 3.984 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.446e-05/0.2586, allocations: 37.69 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.2586, allocations: 126.7 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.2587, allocations: 97.8 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.2587, allocations: 25.7 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.2587, allocations: 84.27 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.2588, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.2588, allocations: 9.719 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2589, allocations: 318.8 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-06/0.2589, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.2589, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.2589, allocations: 83.16 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.729e-05/0.259, allocations: 79.22 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.175e-05/0.259, allocations: 37.69 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.2591, allocations: 79.28 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.2591, allocations: 79.27 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.373e-05/0.2592, allocations: 156.3 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.787e-05/0.2592, allocations: 79.28 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.646e-05/0.2593, allocations: 154.5 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.2593, allocations: 83.28 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2594, allocations: 75.28 kB / 1.068 GB, free: 10.43 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 (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.0001132/0.2595, allocations: 268.3 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.2596, allocations: 112.8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.2596, allocations: 104.1 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.629e-05/0.2597, allocations: 180.2 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.372e-05/0.2598, allocations: 192.2 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.47e-05/0.2598, allocations: 176.3 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.2601, allocations: 405.1 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.285e-05/0.2601, allocations: 109 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.2602, allocations: 108.9 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-05/0.2602, allocations: 180.3 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.2603, allocations: 176.3 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.841e-05/0.2604, allocations: 184.5 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.535e-05/0.2604, allocations: 176.3 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.2606, allocations: 319.7 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.2607, allocations: 178.1 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.2607, allocations: 180.2 kB / 1.07 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.2608, allocations: 109 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.2609, allocations: 184.2 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.2609, allocations: 101 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.261, allocations: 83.28 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.261, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002527/0.2613, allocations: 0 / 1.071 GB, free: 6.758 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 (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.0003996/0.2617, allocations: 0.8125 MB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 1.721e-05/0.2617, allocations: 4.094 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.2617, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.409e-06/0.2617, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.262, allocations: 461 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008847/0.2629, allocations: 1.516 MB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2632, allocations: 0.6768 MB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.146e-06/0.2632, allocations: 0 / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.2632, allocations: 7.438 kB / 1.074 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2632, allocations: 3.938 kB / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6471/0.9104, allocations: 0.8913 MB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.3, allocations: 16.64 kB / 1.075 GB, free: 2.328 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches