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.0008365/0.0008365, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008748/0.0008748, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8958/0.8958, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.762/1.762, allocations: 389 MB / 0.633 GB, free: 12.71 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.218e-06/4.218e-06, allocations: 4 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/2.223e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001151/0.001173, allocations: 0.5464 MB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 4.351e-05/0.001217, allocations: 7.938 kB / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.001245, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.001273, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.688e-05/0.0013, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-05/0.001331, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.001394, allocations: 15.92 kB / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.001442, allocations: 0 / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.001476, allocations: 0 / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.938e-05/0.001495, allocations: 0 / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.001516, allocations: 4 kB / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-06/0.001519, allocations: 0 / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.001533, allocations: 0 / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.00155, allocations: 0 / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.165e-05/0.001622, allocations: 4 kB / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.001625, allocations: 0 / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.001626, allocations: 0 / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.00163, allocations: 4 kB / 1 GB, free: 12.89 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.0002547/0.001885, allocations: 234.5 kB / 1 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.001928, allocations: 16.69 kB / 1 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.001958, allocations: 30.75 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.001977, allocations: 0.9375 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.995e-05/0.002057, allocations: 109.7 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.002069, allocations: 4.375 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.002075, allocations: 384 / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.443e-05/0.00215, allocations: 26.27 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.002158, allocations: 4.172 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.002166, allocations: 4.375 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.002172, allocations: 8.125 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.509e-05/0.002187, allocations: 0 / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.002456, allocations: 346.6 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.643e-05/0.002522, allocations: 169.1 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.002548, allocations: 84.17 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.002571, allocations: 79.27 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.002606, allocations: 109.8 kB / 1.001 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.002607, allocations: 0 / 1.001 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.95e-05/0.002666, allocations: 41.59 kB / 1.001 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.002716, allocations: 130.7 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.002785, allocations: 93.86 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.002794, allocations: 25.7 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.002816, allocations: 80.14 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.002817, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.002833, allocations: 9.719 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.002911, allocations: 322.8 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-06/0.002917, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.002922, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.003143, allocations: 75.28 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/0.003162, allocations: 75.41 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.87e-05/0.003201, allocations: 41.58 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.003234, allocations: 83.22 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.003255, allocations: 75.28 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.386e-05/0.003299, allocations: 154.6 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-05/0.003319, allocations: 80 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.633e-05/0.003355, allocations: 154.5 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.003403, allocations: 91.22 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.003421, allocations: 79.22 kB / 1.003 GB, free: 9.906 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 9.259e-05/0.003514, allocations: 256.4 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.003555, allocations: 120.9 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.003592, allocations: 108.1 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.003631, allocations: 180.5 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/0.003672, allocations: 188.2 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.903e-05/0.003711, allocations: 180.3 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.003851, allocations: 372.3 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.003874, allocations: 104.9 kB / 1.004 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.003897, allocations: 101 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.256e-05/0.00394, allocations: 192.1 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.003977, allocations: 176.3 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.708e-05/0.004014, allocations: 176.3 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.753e-05/0.004052, allocations: 192.2 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.403e-05/0.004136, allocations: 303.8 kB / 1.005 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.004167, allocations: 104.9 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.004211, allocations: 184.2 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.519e-05/0.004257, allocations: 108.9 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.004299, allocations: 180.3 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.004327, allocations: 104.9 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.004358, allocations: 79.28 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004358, allocations: 4 kB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001608/0.004518, 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.0002526/0.004771, allocations: 0.801 MB / 1.007 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.763e-05/0.004809, allocations: 11.94 kB / 1.007 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.004811, allocations: 4 kB / 1.007 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.004812, allocations: 0 / 1.007 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.005051, allocations: 455.7 kB / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007063/0.005757, allocations: 1.525 MB / 1.009 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.005796, allocations: 59.34 kB / 1.009 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.236e-06/0.005804, allocations: 0 / 1.009 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.005828, allocations: 12.59 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of SimCode: time 8.61e-07/0.005829, allocations: 0 / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.02004, allocations: 1.558 MB / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.628, allocations: 8 kB / 1.011 GB, free: 1.941 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Failed to open simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv: Error: Error opening file: Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,con.y Variables in the result: [Calling sys.exit(0), Time elapsed: 10.777741752564907]