Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001669/0.001669, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001824/0.001824, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001969/0.001969, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9497/0.9517, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001526/0.9532, allocations: 0.5563 MB / 1.305 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 3.144e-05/0.9533, allocations: 0 / 1.305 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.9533, allocations: 0 / 1.305 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.9533, allocations: 4 kB / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.044e-05/0.9533, allocations: 0 / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.861e-05/0.9534, allocations: 3.938 kB / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.687e-05/0.9534, allocations: 2.906 kB / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.9534, allocations: 3.375 kB / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.9535, allocations: 2.625 kB / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.591e-05/0.9535, allocations: 3.938 kB / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.9535, allocations: 0 / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.136e-06/0.9535, allocations: 0 / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.9535, allocations: 4 kB / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.9535, allocations: 0 / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 4.973e-05/0.9536, allocations: 10.52 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.9536, allocations: 0 / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9536, allocations: 0 / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.9536, allocations: 0 / 1.305 GB, free: 31.77 MB / 1.061 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.0002059/0.9538, allocations: 313.5 kB / 1.305 GB, free: 31.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.9538, allocations: 11.38 kB / 1.305 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.395e-05/0.9538, allocations: 30.75 kB / 1.305 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.758e-05/0.9539, allocations: 4.938 kB / 1.305 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.423e-05/0.9539, allocations: 163.8 kB / 1.305 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.9539, allocations: 7.312 kB / 1.305 GB, free: 31.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-06/0.9539, allocations: 384 / 1.305 GB, free: 31.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.954, allocations: 30.2 kB / 1.305 GB, free: 31.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.954, allocations: 6.688 kB / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.954, allocations: 3.938 kB / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.954, allocations: 0 / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.245e-05/0.954, allocations: 0 / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.9542, allocations: 381.9 kB / 1.305 GB, free: 30.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.9543, allocations: 175.7 kB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.9543, allocations: 84.12 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.9543, allocations: 75.28 kB / 1.306 GB, free: 30.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.9543, allocations: 112.4 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.9543, allocations: 4 kB / 1.306 GB, free: 30.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.929e-05/0.9544, allocations: 33.08 kB / 1.306 GB, free: 30.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.9544, allocations: 130.6 kB / 1.306 GB, free: 30.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.656e-05/0.9544, allocations: 92.42 kB / 1.306 GB, free: 29.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-06/0.9544, allocations: 28.3 kB / 1.306 GB, free: 29.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.147e-05/0.9545, allocations: 80.14 kB / 1.306 GB, free: 29.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.9545, allocations: 0 / 1.306 GB, free: 29.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.9545, allocations: 13.84 kB / 1.306 GB, free: 29.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.9545, allocations: 321.7 kB / 1.307 GB, free: 29.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-06/0.9545, allocations: 0 / 1.307 GB, free: 29.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-06/0.9545, allocations: 3.375 kB / 1.307 GB, free: 29.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.768e-06/0.9545, allocations: 75.28 kB / 1.307 GB, free: 29.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.9545, allocations: 79.22 kB / 1.307 GB, free: 29.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.056e-05/0.9546, allocations: 28.58 kB / 1.307 GB, free: 29.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.9546, allocations: 80.91 kB / 1.307 GB, free: 29.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9546, allocations: 83.22 kB / 1.307 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.9546, allocations: 157.5 kB / 1.307 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-06/0.9546, allocations: 79.28 kB / 1.307 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.9547, allocations: 162.2 kB / 1.307 GB, free: 28.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.9547, allocations: 78.09 kB / 1.307 GB, free: 28.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.9547, allocations: 79.22 kB / 1.307 GB, free: 28.66 MB / 1.061 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 4.744e-05/0.9548, allocations: 268.3 kB / 1.308 GB, free: 28.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.9548, allocations: 103.9 kB / 1.308 GB, free: 28.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.9548, allocations: 107.5 kB / 1.308 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.9548, allocations: 187.1 kB / 1.308 GB, free: 27.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/0.9549, allocations: 176.3 kB / 1.308 GB, free: 27.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.9549, allocations: 184.2 kB / 1.308 GB, free: 27.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.955, allocations: 404.4 kB / 1.309 GB, free: 27.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.955, allocations: 108.9 kB / 1.309 GB, free: 27.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.955, allocations: 107.8 kB / 1.309 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-05/0.9551, allocations: 179.6 kB / 1.309 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.9551, allocations: 180.2 kB / 1.309 GB, free: 26.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.031e-05/0.9551, allocations: 183.1 kB / 1.31 GB, free: 26.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.101e-05/0.9551, allocations: 184.2 kB / 1.31 GB, free: 26.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.474e-05/0.9552, allocations: 306.7 kB / 1.31 GB, free: 25.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.9552, allocations: 185 kB / 1.31 GB, free: 25.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.9552, allocations: 180.3 kB / 1.31 GB, free: 25.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.9553, allocations: 108.3 kB / 1.31 GB, free: 25.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.9553, allocations: 187 kB / 1.311 GB, free: 25.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.9553, allocations: 101 kB / 1.311 GB, free: 25.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.715e-05/0.9553, allocations: 78.22 kB / 1.311 GB, free: 25.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9553, allocations: 0 / 1.311 GB, free: 25.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002509/0.9556, allocations: 0 / 1.311 GB, free: 25.03 MB / 1.061 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.0002116/0.9558, allocations: 0.8174 MB / 1.312 GB, free: 24.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 3.342e-05/0.9558, allocations: 0 / 1.312 GB, free: 24.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.9558, allocations: 0 / 1.312 GB, free: 24.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.9558, allocations: 0 / 1.312 GB, free: 24.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.9561, allocations: 470 kB / 1.312 GB, free: 23.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.9567, allocations: 1.522 MB / 1.314 GB, free: 22.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.574e-05/0.9568, allocations: 0.669 MB / 1.314 GB, free: 21.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.173e-06/0.9568, allocations: 0 / 1.314 GB, free: 21.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.9568, allocations: 11.38 kB / 1.314 GB, free: 21.48 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9568, allocations: 4 kB / 1.314 GB, free: 21.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.9791, allocations: 0.9246 MB / 1.315 GB, free: 21.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/9.456, allocations: 12.17 kB / 1.315 GB, free: 21.15 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.860303183086216]