Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.0008158/0.0008158, 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.0008051/0.0008051, allocations: 169.9 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.8994/0.8994, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.655/1.655, 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.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.9506 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.245e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001322/0.001344, allocations: 0.6747 MB / 0.9512 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007313/0.002076, allocations: 0.8354 MB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.002107, allocations: 4 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.002133, allocations: 0 / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.002188, allocations: 3.938 kB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.002374, allocations: 15.92 kB / 0.9521 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.002438, allocations: 19.94 kB / 0.9521 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.002525, allocations: 7.984 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.002589, allocations: 16 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.175e-05/0.00262, allocations: 11.91 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.002636, allocations: 4 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.802e-05/0.002674, allocations: 4 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.002688, allocations: 4 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.002704, allocations: 7.984 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.633e-05/0.0028, allocations: 19.97 kB / 0.9522 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002802, allocations: 0 / 0.9522 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.41e-07/0.002803, allocations: 0 / 0.9522 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.002807, allocations: 0 / 0.9522 GB, free: 1.805 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003285/0.003136, allocations: 278.2 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.003176, allocations: 8.031 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.003208, allocations: 30.75 kB / 0.9525 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.003272, allocations: 12.88 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.58e-05/0.003348, allocations: 113.8 kB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.003359, allocations: 4.375 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.003366, allocations: 4.312 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.003489, allocations: 50.23 kB / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.003496, allocations: 192 / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.003503, allocations: 384 / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.003509, allocations: 8.125 kB / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.731e-05/0.003596, allocations: 31.97 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.00386, allocations: 216 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.526e-05/0.003945, allocations: 30.56 kB / 0.9529 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.003994, allocations: 28.89 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.004012, allocations: 0 / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.004032, allocations: 34.5 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.004032, allocations: 4 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002248/0.004257, allocations: 85.58 kB / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.004287, allocations: 51.41 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.004344, allocations: 97.86 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.004354, allocations: 25.7 kB / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.00439, allocations: 88.12 kB / 0.9533 GB, free: 464 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.004406, allocations: 3.953 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.004434, allocations: 21.84 kB / 0.9533 GB, free: 432 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.00451, allocations: 310.8 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.004552, allocations: 15.98 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.00459, allocations: 23.97 kB / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.004664, allocations: 32.83 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.004668, allocations: 4 kB / 0.9537 GB, free: 32 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.004782, allocations: 73.81 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.004796, allocations: 7.938 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.004802, allocations: 4 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.004813, allocations: 0 / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.00488, allocations: 7.984 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.004885, allocations: 3.938 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.004907, allocations: 4 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.004912, allocations: 0 / 0.9538 GB, free: 15.92 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 (2): * Single equations (assignments): 2 * 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 5.445e-05/0.004966, allocations: 117.9 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.004978, allocations: 3.938 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.005127, allocations: 80.89 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.005129, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.005133, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005136, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.904e-05/0.005235, allocations: 120.8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005237, allocations: 0 / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.005265, allocations: 12.03 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005267, allocations: 3.938 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.005275, allocations: 11.92 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.005277, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005278, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.005398, allocations: 159.5 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.005404, allocations: 3.953 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.005415, allocations: 4.125 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.00545, allocations: 8.031 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.005484, allocations: 7.969 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.005487, allocations: 7.938 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.005513, allocations: 79.28 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005513, allocations: 0 / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001398/0.005653, allocations: 4 kB / 0.9544 GB, free: 15.23 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 (2): * Single equations (assignments): 2 * 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.0002946/0.005947, allocations: 0.6967 MB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.006066, allocations: 39.98 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006068, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.006106, allocations: 15.92 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.006327, allocations: 10.34 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.006655, allocations: 126.5 kB / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.006696, allocations: 55.48 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.006717, allocations: 8 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.006752, allocations: 12.48 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of SimCode: time 9.31e-07/0.006753, allocations: 3.938 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.02282, allocations: 1.945 MB / 0.9572 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.692, allocations: 12.02 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_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_Reals_Validation_Log.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable log1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv. Warning: Get data of variable log1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.749302189797163]