Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_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.004007/0.004007, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001134/0.001134, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.426/2.426, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 63.91 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6282, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001412/0.6296, allocations: 0.54 MB / 1.221 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 3.196e-05/0.6297, allocations: 4 kB / 1.221 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.6297, allocations: 0 / 1.221 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.6298, allocations: 3.938 kB / 1.221 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.97e-05/0.6298, allocations: 0 / 1.221 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 2.468e-05/0.6298, allocations: 0 / 1.221 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.6299, allocations: 4 kB / 1.221 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.6299, allocations: 13.97 kB / 1.221 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.305e-05/0.6299, allocations: 3.984 kB / 1.221 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.371e-05/0.63, allocations: 0 / 1.221 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.63, allocations: 0 / 1.221 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-06/0.63, allocations: 0 / 1.221 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.63, allocations: 4 kB / 1.221 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.63, allocations: 4 kB / 1.221 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 4.83e-05/0.6301, allocations: 3.984 kB / 1.221 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6301, allocations: 0 / 1.221 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6301, allocations: 3.938 kB / 1.221 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.6301, allocations: 4 kB / 1.221 GB, free: 1.457 MB / 0.9356 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.000271/0.6304, allocations: 315.5 kB / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.6304, allocations: 8.031 kB / 1.221 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.6304, allocations: 30.75 kB / 1.221 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.779e-05/0.6305, allocations: 4.938 kB / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.6306, allocations: 168.4 kB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.6306, allocations: 4.312 kB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-06/0.6306, allocations: 384 / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.803e-05/0.6307, allocations: 30.27 kB / 1.221 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.6307, allocations: 3.938 kB / 1.221 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.6307, allocations: 4 kB / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.6307, allocations: 0 / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.075e-05/0.6307, allocations: 0 / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.631, allocations: 379.5 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.462e-05/0.6311, allocations: 177 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.6311, allocations: 80.14 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.6312, allocations: 75.28 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.6312, allocations: 114 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.6312, allocations: 0 / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 5.832e-05/0.6313, allocations: 29.64 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.6314, allocations: 130.7 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.6314, allocations: 97.84 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.6315, allocations: 25.7 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.6315, allocations: 80.14 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.6315, allocations: 0 / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.6315, allocations: 13.72 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6316, allocations: 314.8 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-06/0.6317, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-06/0.6317, allocations: 4.125 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.6317, allocations: 75.28 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/0.6317, allocations: 79.22 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.721e-05/0.6318, allocations: 33.69 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.6318, allocations: 79.28 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.6319, allocations: 83.25 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.045e-05/0.6319, allocations: 150.6 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.118e-05/0.632, allocations: 91.16 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-05/0.632, allocations: 154.6 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.6321, allocations: 79.28 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.6321, allocations: 79.22 kB / 1.224 GB, free: 14.28 MB / 0.9512 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.0001124/0.6322, allocations: 268.3 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.6323, allocations: 105 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.6324, allocations: 108 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.076e-05/0.6324, allocations: 184.3 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.885e-05/0.6325, allocations: 184.1 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.395e-05/0.6326, allocations: 180.2 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.6328, allocations: 401.2 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-05/0.6328, allocations: 113.8 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.6329, allocations: 105 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.633, allocations: 180.2 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/0.633, allocations: 180.3 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.109e-05/0.6331, allocations: 176.3 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-05/0.6332, allocations: 188.2 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.6333, allocations: 312.1 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.6334, allocations: 182 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.6335, allocations: 180.3 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.6335, allocations: 108.9 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.6336, allocations: 188.2 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.6337, allocations: 104.9 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.6337, allocations: 79.28 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6337, allocations: 0 / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002265/0.6339, allocations: 0 / 1.227 GB, free: 10.6 MB / 0.9512 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.0004012/0.6343, allocations: 0.8093 MB / 1.228 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 3.072e-05/0.6344, allocations: 7.938 kB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6344, allocations: 0 / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.6344, allocations: 0 / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.6347, allocations: 457.7 kB / 1.228 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000933/0.6357, allocations: 1.528 MB / 1.23 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.6359, allocations: 0.669 MB / 1.23 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.474e-06/0.636, allocations: 4 kB / 1.23 GB, free: 7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.636, allocations: 7.438 kB / 1.23 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.636, allocations: 3.938 kB / 1.23 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.42/2.056, allocations: 0.9194 MB / 1.231 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/12.39, allocations: 25.27 kB / 1.231 GB, free: 6.156 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches