Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001881/0.001881, allocations: 102 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002002/0.002002, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Exp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 70.7 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3447, allocations: 176.1 MB / 1.321 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002006/0.3467, allocations: 0.6739 MB / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3477, allocations: 0.8436 MB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.3478, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.3478, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.3479, allocations: 3.938 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.348, allocations: 15.98 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.3481, allocations: 27.88 kB / 1.322 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.3482, allocations: 11.97 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.3482, allocations: 8 kB / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.3483, allocations: 11.92 kB / 1.322 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3483, allocations: 0 / 1.322 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.3483, allocations: 8 kB / 1.322 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.3483, allocations: 0 / 1.322 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.3483, allocations: 15.92 kB / 1.322 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.479e-05/0.3484, allocations: 24.17 kB / 1.322 GB, free: 1.504 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3484, allocations: 0 / 1.322 GB, free: 1.504 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3484, allocations: 0 / 1.322 GB, free: 1.504 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3485, allocations: 4 kB / 1.322 GB, free: 1.5 MB / 1.014 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.0004394/0.3489, allocations: 345.1 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3489, allocations: 11.98 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.349, allocations: 30.75 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.349, allocations: 8.938 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3492, allocations: 172.3 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3492, allocations: 8.359 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.3492, allocations: 384 / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3494, allocations: 54.23 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3494, allocations: 7.875 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3494, allocations: 0 / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3494, allocations: 0 / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.3496, allocations: 31.97 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.3499, allocations: 248.9 kB / 1.323 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.35, allocations: 42.5 kB / 1.323 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.3501, allocations: 16.91 kB / 1.323 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3501, allocations: 0 / 1.323 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3501, allocations: 34.56 kB / 1.323 GB, free: 344 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.3501, allocations: 4 kB / 1.323 GB, free: 340 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003559/0.3505, allocations: 81.58 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3505, allocations: 51.41 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.3506, allocations: 105.8 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3506, allocations: 25.7 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.3507, allocations: 80.14 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3507, allocations: 11.89 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.3508, allocations: 17.84 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3509, allocations: 314.8 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.351, allocations: 15.98 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.3511, allocations: 15.98 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3512, allocations: 36.81 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3512, allocations: 12 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/0.3514, allocations: 65.61 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3514, allocations: 8 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3514, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3515, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.3515, allocations: 7.984 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3515, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.3516, allocations: 15.95 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3516, allocations: 4 kB / 1.324 GB, free: 15.42 MB / 1.029 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 7.923e-05/0.3517, allocations: 109.8 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.3517, allocations: 3.953 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.352, allocations: 76.72 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.352, allocations: 0 / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.352, allocations: 0 / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.352, allocations: 4.031 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3521, allocations: 161.6 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3521, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.3522, allocations: 11.98 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3522, allocations: 4 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.3522, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3522, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3522, allocations: 3.938 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.3525, allocations: 167.5 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.3525, allocations: 77.11 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.3525, allocations: 4 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.3526, allocations: 4.172 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.3526, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3526, allocations: 3.984 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.3527, allocations: 87.22 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3527, allocations: 4.031 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002153/0.3529, allocations: 4 kB / 1.325 GB, free: 14.6 MB / 1.029 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.0005925/0.3535, allocations: 0.6967 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3537, allocations: 40 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3537, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.3538, allocations: 15.92 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3541, allocations: 11.98 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.3545, allocations: 134 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3548, allocations: 0.6769 MB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.3548, allocations: 7.984 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.3549, allocations: 7.438 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3549, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.3779, allocations: 1.28 MB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.179, allocations: 6.828 kB / 1.328 GB, free: 11.72 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable Exp1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv. Warning: Get data of variable Exp1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.178126270882785]