Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 107.5 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.001775/0.001775, 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.476/1.476, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.554/2.554, allocations: 443.5 MB / 0.7287 GB, free: 13.24 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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 67.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8329/0.8351, allocations: 160.7 MB / 1.213 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002073/0.8371, allocations: 0.5497 MB / 1.213 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.907e-05/0.8372, allocations: 0 / 1.213 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.8372, allocations: 1.188 kB / 1.213 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.8372, allocations: 0 / 1.213 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.135e-05/0.8373, allocations: 7.938 kB / 1.213 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.502e-05/0.8373, allocations: 5.25 kB / 1.213 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.8373, allocations: 1.031 kB / 1.213 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.8374, allocations: 9.047 kB / 1.213 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.248e-05/0.8374, allocations: 0 / 1.213 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/0.8374, allocations: 5.047 kB / 1.213 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.8374, allocations: 0 / 1.213 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-06/0.8374, allocations: 1.094 kB / 1.214 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.8375, allocations: 0 / 1.214 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.8375, allocations: 1.125 kB / 1.214 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.103e-05/0.8375, allocations: 5.062 kB / 1.214 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8375, allocations: 0 / 1.214 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8375, allocations: 3.938 kB / 1.214 GB, free: 3.449 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.8376, allocations: 0 / 1.214 GB, free: 3.449 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.0003521/0.8379, allocations: 324.6 kB / 1.214 GB, free: 3.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.8379, allocations: 10.12 kB / 1.214 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.838, allocations: 31.5 kB / 1.214 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.861e-05/0.838, allocations: 1.688 kB / 1.214 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.8381, allocations: 160.4 kB / 1.214 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.8382, allocations: 1.125 kB / 1.214 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.8382, allocations: 9 kB / 1.214 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.408e-05/0.8383, allocations: 32.23 kB / 1.214 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8383, allocations: 3.938 kB / 1.214 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.8383, allocations: 1.094 kB / 1.214 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8383, allocations: 0 / 1.214 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.8383, allocations: 5.062 kB / 1.214 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.8387, allocations: 378.8 kB / 1.214 GB, free: 2.387 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.8388, allocations: 178.1 kB / 1.215 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.8388, allocations: 81.2 kB / 1.215 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.8389, allocations: 79.27 kB / 1.215 GB, free: 2.043 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/0.8389, allocations: 106.9 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.8389, allocations: 0 / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.595e-05/0.839, allocations: 30.83 kB / 1.215 GB, free: 1.895 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.8391, allocations: 127.8 kB / 1.215 GB, free: 1.758 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.8392, allocations: 97.11 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.8392, allocations: 25.7 kB / 1.215 GB, free: 1.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.8392, allocations: 80.14 kB / 1.215 GB, free: 1.543 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.8392, allocations: 5.094 kB / 1.215 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.8392, allocations: 10.84 kB / 1.215 GB, free: 1.523 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8394, allocations: 319 kB / 1.216 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-06/0.8394, allocations: 0.9375 kB / 1.216 GB, free: 1.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-06/0.8394, allocations: 0 / 1.216 GB, free: 1.203 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.8394, allocations: 76.25 kB / 1.216 GB, free: 1.129 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-05/0.8395, allocations: 83.22 kB / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.14e-05/0.8396, allocations: 32.08 kB / 1.216 GB, free: 1.012 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.8396, allocations: 80.72 kB / 1.216 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/0.8396, allocations: 80.31 kB / 1.216 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-05/0.8397, allocations: 159.7 kB / 1.216 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-05/0.8398, allocations: 80.44 kB / 1.216 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.976e-05/0.8398, allocations: 158.5 kB / 1.216 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.765e-05/0.8399, allocations: 76.25 kB / 1.216 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.84, allocations: 81 kB / 1.216 GB, free: 324 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.0001529/0.8401, allocations: 270.9 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.8402, allocations: 102.2 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.651e-05/0.8403, allocations: 105.4 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.895e-05/0.8404, allocations: 185.6 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-05/0.8404, allocations: 177.6 kB / 1.217 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-05/0.8405, allocations: 184.2 kB / 1.217 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.8408, allocations: 407.6 kB / 1.218 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.695e-05/0.8409, allocations: 101.7 kB / 1.218 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.8409, allocations: 105.6 kB / 1.218 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.135e-05/0.841, allocations: 177 kB / 1.218 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.8411, allocations: 189.1 kB / 1.218 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.442e-05/0.8412, allocations: 185.3 kB / 1.218 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.901e-05/0.8413, allocations: 185.3 kB / 1.219 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.8415, allocations: 304.6 kB / 1.219 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.8416, allocations: 187.2 kB / 1.219 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8417, allocations: 177.2 kB / 1.219 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.8418, allocations: 113.9 kB / 1.219 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.8419, allocations: 177.4 kB / 1.22 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.842, allocations: 102.1 kB / 1.22 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.842, allocations: 81.09 kB / 1.22 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.842, allocations: 0 / 1.22 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002853/0.8423, allocations: 1.094 kB / 1.22 GB, free: 12.67 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.0005506/0.8429, allocations: 0.8214 MB / 1.221 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.542e-05/0.8429, allocations: 1.031 kB / 1.221 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8429, allocations: 0 / 1.221 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.8429, allocations: 1.125 kB / 1.221 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.8434, allocations: 464.7 kB / 1.221 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.8447, allocations: 1.523 MB / 1.222 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.8451, allocations: 0.675 MB / 1.223 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.444e-06/0.8451, allocations: 0 / 1.223 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.8451, allocations: 7.438 kB / 1.223 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/0.8451, allocations: 3.938 kB / 1.223 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.871, allocations: 0.9247 MB / 1.224 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.967, allocations: 13.75 kB / 1.224 GB, free: 8.551 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.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.797226796858013]