Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 104.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 64.14 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8238, allocations: 160.7 MB / 1.213 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001895/0.8257, allocations: 0.5418 MB / 1.213 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.387e-05/0.8257, allocations: 0.75 kB / 1.213 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.8257, allocations: 4.75 kB / 1.213 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.8257, allocations: 0 / 1.213 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.307e-05/0.8258, allocations: 0 / 1.213 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 2.908e-05/0.8258, allocations: 5.062 kB / 1.213 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.8259, allocations: 9.078 kB / 1.213 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.8259, allocations: 1.062 kB / 1.213 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.335e-05/0.8259, allocations: 5.062 kB / 1.213 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.626e-05/0.8259, allocations: 0 / 1.213 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.8259, allocations: 1.156 kB / 1.213 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-06/0.8259, allocations: 0 / 1.213 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.826, allocations: 0 / 1.213 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.826, allocations: 9.266 kB / 1.213 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.351e-05/0.826, allocations: 1.344 kB / 1.213 GB, free: 3.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.826, allocations: 0 / 1.213 GB, free: 3.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.826, allocations: 0 / 1.213 GB, free: 3.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.826, allocations: 0 / 1.213 GB, free: 3.59 MB / 0.92 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.0003448/0.8264, allocations: 328.7 kB / 1.214 GB, free: 3.227 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8264, allocations: 10.22 kB / 1.214 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.8265, allocations: 31.84 kB / 1.214 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.8265, allocations: 0.9375 kB / 1.214 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.8266, allocations: 165.5 kB / 1.214 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.8266, allocations: 384 / 1.214 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.8266, allocations: 5.375 kB / 1.214 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/0.8267, allocations: 40.44 kB / 1.214 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.8267, allocations: 3.938 kB / 1.214 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.8267, allocations: 0 / 1.214 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8267, allocations: 1 kB / 1.214 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.37e-05/0.8268, allocations: 1.031 kB / 1.214 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.8271, allocations: 382.6 kB / 1.214 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.8272, allocations: 178.2 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.8272, allocations: 81.05 kB / 1.215 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.8273, allocations: 75.28 kB / 1.215 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.119e-05/0.8274, allocations: 110.9 kB / 1.215 GB, free: 2.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8274, allocations: 0 / 1.215 GB, free: 2.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.685e-05/0.8274, allocations: 26.86 kB / 1.215 GB, free: 2.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.8275, allocations: 127.7 kB / 1.215 GB, free: 1.891 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/0.8276, allocations: 97.2 kB / 1.215 GB, free: 1.789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.8276, allocations: 25.7 kB / 1.215 GB, free: 1.758 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.8277, allocations: 84.12 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.8277, allocations: 1 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.8277, allocations: 14.81 kB / 1.215 GB, free: 1.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8278, allocations: 315.7 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-06/0.8278, allocations: 0 / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-06/0.8278, allocations: 1.062 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.8279, allocations: 75.28 kB / 1.216 GB, free: 1.262 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.289e-05/0.8279, allocations: 79.22 kB / 1.216 GB, free: 1.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.878e-05/0.828, allocations: 28.86 kB / 1.216 GB, free: 1.152 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.828, allocations: 80.69 kB / 1.216 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/0.8281, allocations: 88.34 kB / 1.216 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.231e-05/0.8281, allocations: 158.6 kB / 1.216 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.695e-05/0.8282, allocations: 76.38 kB / 1.216 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-05/0.8282, allocations: 155.7 kB / 1.216 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.8283, allocations: 80.28 kB / 1.216 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.8284, allocations: 80.41 kB / 1.216 GB, free: 464 kB / 0.92 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.0001374/0.8285, allocations: 265.5 kB / 1.217 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.8286, allocations: 106.1 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.8287, allocations: 109.2 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.992e-05/0.8287, allocations: 181.3 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-05/0.8288, allocations: 177.4 kB / 1.217 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.431e-05/0.8289, allocations: 185.3 kB / 1.217 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.8292, allocations: 407.3 kB / 1.218 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/0.8292, allocations: 101 kB / 1.218 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.8293, allocations: 106.1 kB / 1.218 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.546e-05/0.8294, allocations: 177.6 kB / 1.218 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/0.8295, allocations: 192.8 kB / 1.218 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-05/0.8296, allocations: 177.3 kB / 1.218 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001079/0.8297, allocations: 189.3 kB / 1.219 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.8298, allocations: 299.5 kB / 1.219 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.83, allocations: 191 kB / 1.219 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.536e-05/0.8301, allocations: 181.7 kB / 1.219 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.8302, allocations: 109.8 kB / 1.219 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.8302, allocations: 181.7 kB / 1.22 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.8303, allocations: 106 kB / 1.22 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.8303, allocations: 81.48 kB / 1.22 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8303, allocations: 0 / 1.22 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002641/0.8306, allocations: 5.156 kB / 1.22 GB, free: 12.8 MB / 0.9356 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.0005591/0.8312, allocations: 0.8138 MB / 1.221 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.727e-05/0.8312, allocations: 0 / 1.221 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8312, allocations: 1.094 kB / 1.221 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.8312, allocations: 4 kB / 1.221 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.8317, allocations: 461.1 kB / 1.221 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.8329, allocations: 1.527 MB / 1.222 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.8332, allocations: 0.6701 MB / 1.223 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.055e-06/0.8332, allocations: 0 / 1.223 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.8332, allocations: 12.62 kB / 1.223 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of SimCode: time 6.02e-07/0.8332, allocations: 0 / 1.223 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.8563, allocations: 0.9294 MB / 1.224 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.794, allocations: 8.812 kB / 1.224 GB, free: 8.688 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.86890169000253]