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.001403/0.001403, allocations: 108 kB / 15.61 MB, free: 152 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.00135/0.00135, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.5/2.5, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003326/0.003326, allocations: 68.7 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.25, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001475/0.2515, allocations: 0.5356 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 2.813e-05/0.2515, allocations: 7.828 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.2516, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.2516, allocations: 4 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.969e-05/0.2516, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.506e-05/0.2516, allocations: 4 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.58e-05/0.2517, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.2517, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.292e-05/0.2517, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.438e-05/0.2518, allocations: 3.984 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.2518, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-06/0.2518, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.2518, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.2518, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.083e-05/0.2519, allocations: 7.922 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2519, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.041e-06/0.2519, allocations: 7.938 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.2519, allocations: 0 / 1.065 GB, free: 13.6 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.0002516/0.2521, allocations: 303.6 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.2522, allocations: 12.06 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.2522, allocations: 30.75 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.667e-05/0.2522, allocations: 4.922 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2523, allocations: 168.4 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-06/0.2523, allocations: 384 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.2524, allocations: 4.375 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.955e-05/0.2524, allocations: 30.27 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2524, allocations: 3.938 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-06/0.2524, allocations: 3.938 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.2524, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.411e-05/0.2525, allocations: 7.938 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.2527, allocations: 375.5 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.659e-05/0.2528, allocations: 177.1 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.2529, allocations: 84.17 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.2529, allocations: 75.28 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.2529, allocations: 109.8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.2529, allocations: 3.938 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.674e-05/0.253, allocations: 33.69 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.2531, allocations: 130.7 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.2531, allocations: 89.86 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2532, allocations: 29.7 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.2532, allocations: 80.14 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.2532, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.2532, allocations: 9.719 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2533, allocations: 314.8 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-06/0.2533, allocations: 8.062 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-06/0.2533, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.2534, allocations: 83.28 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-05/0.2534, allocations: 79.22 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.909e-05/0.2535, allocations: 33.62 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.2535, allocations: 83.28 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.2535, allocations: 75.28 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.775e-05/0.2536, allocations: 156.3 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-05/0.2536, allocations: 79.28 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.278e-05/0.2537, allocations: 154.6 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.2538, allocations: 83.22 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.2538, allocations: 79.27 kB / 1.068 GB, free: 10.42 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.0001079/0.2539, allocations: 260.3 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.254, allocations: 116.8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.254, allocations: 104.1 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.254e-05/0.2541, allocations: 180.3 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-05/0.2541, allocations: 184.2 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.088e-05/0.2542, allocations: 180.3 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.2544, allocations: 409.1 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-05/0.2545, allocations: 105 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.2545, allocations: 109 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-05/0.2546, allocations: 180.2 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.2547, allocations: 176.3 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.083e-05/0.2547, allocations: 180.5 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.359e-05/0.2548, allocations: 184.3 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2549, allocations: 319.7 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.255, allocations: 178.1 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.2551, allocations: 180.2 kB / 1.07 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.2551, allocations: 105 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.2552, allocations: 192.2 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.2553, allocations: 101 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.2553, allocations: 75.28 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2553, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002132/0.2555, allocations: 4 kB / 1.071 GB, free: 6.754 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.0003842/0.2559, allocations: 0.8127 MB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.022e-05/0.256, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.256, allocations: 3.938 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.256, allocations: 0 / 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.0003273/0.2563, allocations: 465.4 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.2572, allocations: 1.516 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2574, allocations: 0.6729 MB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.17e-06/0.2575, allocations: 0 / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.2575, allocations: 7.438 kB / 1.074 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2575, allocations: 0 / 1.074 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.878/5.136, allocations: 0.9069 MB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/17.04, allocations: 11.64 kB / 1.075 GB, free: 2.32 MB / 0.8262 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