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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009636/0.0009636, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8724/0.8724, allocations: 177.2 MB / 202.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.752/1.752, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 4.299e-06/4.299e-06, allocations: 4 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.679e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001261/0.001288, allocations: 0.5544 MB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 4.263e-05/0.00133, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.001357, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.001383, allocations: 4 kB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.001409, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.047e-05/0.00144, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.001499, allocations: 7.938 kB / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.001548, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.001576, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.842e-05/0.001595, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.001613, allocations: 4 kB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-06/0.001616, allocations: 0 / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.00163, allocations: 4 kB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.00165, allocations: 0 / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 6.039e-05/0.00171, allocations: 7.984 kB / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.001712, allocations: 3.938 kB / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.783e-06/0.001714, allocations: 0 / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.001718, allocations: 0 / 1 GB, free: 12.9 MB / 0.9636 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.0002362/0.001954, allocations: 230.5 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.001998, allocations: 12.75 kB / 1 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.002028, allocations: 38.67 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.081e-05/0.002049, allocations: 4.938 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.439e-05/0.002123, allocations: 101.8 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.002135, allocations: 4.375 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-06/0.002142, allocations: 4.375 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.002233, allocations: 26.27 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.00224, allocations: 192 / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.002248, allocations: 384 / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.002256, allocations: 12.12 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.541e-05/0.002272, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.002556, allocations: 354.5 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.00263, allocations: 169.1 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.00266, allocations: 84.17 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.002681, allocations: 75.28 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.002721, allocations: 117.8 kB / 1.001 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.002722, allocations: 0 / 1.001 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.003e-05/0.002782, allocations: 37.59 kB / 1.001 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.002828, allocations: 126.7 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.002901, allocations: 97.84 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.002909, allocations: 25.7 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.002931, allocations: 84.12 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.002933, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.00295, allocations: 13.72 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.003032, allocations: 314.8 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.003037, allocations: 128 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-06/0.00304, allocations: 4 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/0.003061, allocations: 75.28 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/0.003082, allocations: 75.28 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.253e-05/0.003124, allocations: 41.52 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.003154, allocations: 83.27 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.003175, allocations: 75.28 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.373e-05/0.003219, allocations: 158.5 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.971e-05/0.003239, allocations: 80 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.853e-05/0.003277, allocations: 154.6 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.003321, allocations: 83.22 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.003339, allocations: 79.28 kB / 1.003 GB, free: 9.91 MB / 0.9636 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 8.109e-05/0.00342, allocations: 256.4 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.003463, allocations: 116.9 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.003501, allocations: 108.1 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.43e-05/0.003545, allocations: 180.5 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-05/0.003588, allocations: 184.2 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-05/0.003627, allocations: 180.3 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.003757, allocations: 376.2 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/0.003787, allocations: 105 kB / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.003821, allocations: 101 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.824e-05/0.003879, allocations: 196.1 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.00392, allocations: 176.3 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.832e-05/0.003959, allocations: 180.2 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.856e-05/0.003997, allocations: 180.3 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.004112, allocations: 307.8 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.004149, allocations: 104.9 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.004204, allocations: 184.2 kB / 1.006 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.74e-05/0.004252, allocations: 105 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.004303, allocations: 184.3 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.004332, allocations: 112.9 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.004367, allocations: 79.28 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004367, allocations: 4 kB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001535/0.004521, allocations: 0 / 1.006 GB, free: 6.359 MB / 0.9636 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.0002996/0.00482, allocations: 0.8009 MB / 1.007 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 4.145e-05/0.004862, allocations: 7.938 kB / 1.007 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.004864, allocations: 0 / 1.007 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.004865, allocations: 0 / 1.007 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.005125, allocations: 460 kB / 1.007 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.005872, allocations: 1.529 MB / 1.009 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.766e-05/0.005909, allocations: 55.36 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.718e-06/0.005919, allocations: 4 kB / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.005947, allocations: 12.44 kB / 1.009 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of SimCode: time 9.51e-07/0.005948, allocations: 0 / 1.009 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.01963, allocations: 1.547 MB / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/6.541, allocations: 8.062 kB / 1.011 GB, free: 1.953 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.529742776416242]