Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009198/0.0009198, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.000986/0.000986, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9041/0.9041, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.695/1.695, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.782e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001322/0.00135, allocations: 0.5597 MB / 0.9511 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.026e-05/0.00139, allocations: 7.938 kB / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.001416, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.001442, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.516e-05/0.001467, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.009e-05/0.001497, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.001551, allocations: 3.938 kB / 0.9511 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.001598, allocations: 4 kB / 0.9511 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.988e-05/0.001628, allocations: 7.984 kB / 0.9511 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.845e-05/0.001646, allocations: 0 / 0.9511 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.001665, allocations: 4 kB / 0.9511 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-06/0.001668, allocations: 0 / 0.9511 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.001682, allocations: 3.984 kB / 0.9511 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.001698, allocations: 0 / 0.9511 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.86e-05/0.001757, allocations: 4 kB / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00176, allocations: 0 / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/0.001761, allocations: 0 / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.001765, allocations: 0 / 0.9511 GB, free: 2.895 MB / 0.9011 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.0002285/0.001994, allocations: 238.4 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.002033, allocations: 8.031 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.00206, allocations: 34.75 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.002079, allocations: 8.938 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.002153, allocations: 109.7 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.002162, allocations: 384 / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-06/0.002168, allocations: 384 / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.194e-05/0.00224, allocations: 30.27 kB / 0.9515 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.002247, allocations: 192 / 0.9515 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.002254, allocations: 384 / 0.9515 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.002259, allocations: 4.125 kB / 0.9515 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.002274, allocations: 3.938 kB / 0.9515 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.002535, allocations: 354.6 kB / 0.9518 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.505e-05/0.002601, allocations: 173.1 kB / 0.952 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.002626, allocations: 80.14 kB / 0.9521 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.002647, allocations: 75.28 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.002683, allocations: 117.8 kB / 0.9523 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.002683, allocations: 0 / 0.9523 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.797e-05/0.002741, allocations: 33.62 kB / 0.9523 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.002785, allocations: 126.7 kB / 0.9524 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.002851, allocations: 93.86 kB / 0.9525 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.435e-06/0.002859, allocations: 25.7 kB / 0.9525 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.002882, allocations: 84.27 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.002884, allocations: 8 kB / 0.9526 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.002903, allocations: 9.719 kB / 0.9526 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.002978, allocations: 310.8 kB / 0.9529 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-06/0.002982, allocations: 0 / 0.9529 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-06/0.002986, allocations: 0 / 0.9529 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.003007, allocations: 79.28 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.003025, allocations: 75.28 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.439e-05/0.00306, allocations: 33.62 kB / 0.9531 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.00309, allocations: 83.28 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.00311, allocations: 79.22 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.811e-05/0.003158, allocations: 154.6 kB / 0.9534 GB, free: 316 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.34e-05/0.003181, allocations: 87.22 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.006e-05/0.003221, allocations: 155.2 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.003279, allocations: 75.28 kB / 0.9537 GB, free: 16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.003303, allocations: 87.19 kB / 0.9538 GB, free: 15.91 MB / 0.9167 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.35e-05/0.003386, allocations: 260.4 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.003426, allocations: 109 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.003465, allocations: 116.1 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/0.003505, allocations: 176.5 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-05/0.003552, allocations: 184.2 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.315e-05/0.003595, allocations: 188.3 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.003737, allocations: 368.3 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/0.003763, allocations: 108.9 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.003787, allocations: 108.9 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.376e-05/0.003831, allocations: 188.1 kB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.003875, allocations: 180.3 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.046e-05/0.003916, allocations: 176.3 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-05/0.003955, allocations: 180.2 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.728e-05/0.004052, allocations: 311.8 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.004086, allocations: 104.9 kB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.004134, allocations: 176.3 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.004182, allocations: 120.9 kB / 0.9567 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.004229, allocations: 180.3 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.004264, allocations: 104.9 kB / 0.957 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.004297, allocations: 79.28 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004297, allocations: 0 / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001627/0.00446, allocations: 0 / 0.9571 GB, free: 12.36 MB / 0.9167 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.0005438/0.005004, allocations: 0.8087 MB / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.053e-05/0.005044, allocations: 7.938 kB / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005046, allocations: 96 / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.005047, allocations: 4 kB / 0.9579 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.0053, allocations: 451.7 kB / 0.9583 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007917/0.006091, allocations: 1.535 MB / 0.9598 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.006131, allocations: 51.36 kB / 0.9598 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.431e-05/0.006145, allocations: 4 kB / 0.9598 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.006175, allocations: 8.5 kB / 0.9599 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.006175, allocations: 0 / 0.9599 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.02244, allocations: 1.556 MB / 0.9614 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/6.666, allocations: 11.16 kB / 0.9614 GB, free: 7.941 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv: Error: Error opening file: Buildings_11_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.78180424310267]