Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007935/0.0007935, 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.0009139/0.0009139, 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.8698/0.8698, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.695/1.695, 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.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.489e-05, allocations: 10.22 kB / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001753/0.001778, allocations: 0.6546 MB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002786, allocations: 0.8354 MB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.002826, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.002857, allocations: 3.938 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.002915, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.003114, allocations: 27.73 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.003186, allocations: 19.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.003282, allocations: 11.92 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.003354, allocations: 11.98 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.00339, allocations: 12 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.003404, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.003445, allocations: 4 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.003462, allocations: 11.98 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.003483, allocations: 3.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.003604, allocations: 27.95 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.003606, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003607, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003612, allocations: 0 / 1.001 GB, free: 11.78 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004131/0.004025, allocations: 262.3 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.00407, allocations: 16.75 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.004104, allocations: 34.73 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.004189, allocations: 4.938 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.004279, allocations: 101.8 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.00429, allocations: 384 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.004309, allocations: 8.375 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.004464, allocations: 50.17 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.004473, allocations: 192 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004483, allocations: 4.375 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004489, allocations: 4.125 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.004611, allocations: 43.95 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.00496, allocations: 208 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.005067, allocations: 38.5 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.005127, allocations: 24.89 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.005146, allocations: 0 / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.005171, allocations: 38.5 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.005172, allocations: 4 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002747/0.005447, allocations: 85.58 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.00548, allocations: 51.41 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.005545, allocations: 97.86 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.005556, allocations: 25.7 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.005596, allocations: 84.12 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.005612, allocations: 7.953 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.005648, allocations: 17.78 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.005801, allocations: 318.8 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.00586, allocations: 11.98 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-05/0.00591, allocations: 19.97 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.006016, allocations: 36.83 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006018, allocations: 3.938 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001509/0.006169, allocations: 73.66 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.006182, allocations: 4 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006187, allocations: 0 / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.006201, allocations: 0 / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.006272, allocations: 11.98 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.006276, allocations: 3.938 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.006308, allocations: 4 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.006313, allocations: 0 / 1.003 GB, free: 9.914 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 (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 6.306e-05/0.006376, allocations: 117.9 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.006399, allocations: 7.922 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.00658, allocations: 68.92 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006582, allocations: 4 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.006587, allocations: 0 / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006589, allocations: 0 / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.828e-05/0.006687, allocations: 124.8 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006689, allocations: 192 / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.00672, allocations: 12.03 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.006724, allocations: 7.922 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.006731, allocations: 3.984 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006732, allocations: 0 / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006733, allocations: 0 / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.006855, allocations: 163.5 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.006862, allocations: 7.938 kB / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006871, allocations: 0 / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.006907, allocations: 7.969 kB / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.006938, allocations: 7.984 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006941, allocations: 4 kB / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.006965, allocations: 83.28 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006965, allocations: 0 / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001352/0.0071, allocations: 4 kB / 1.004 GB, free: 9.223 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 (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.0003078/0.007408, allocations: 0.7045 MB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.007529, allocations: 36 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007531, allocations: 0 / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.007569, allocations: 15.98 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.0078, allocations: 7.984 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.00811, allocations: 131.2 kB / 1.004 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.008276, allocations: 59.36 kB / 1.004 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.008295, allocations: 4.125 kB / 1.004 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.008328, allocations: 12.48 kB / 1.004 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.008328, allocations: 3.938 kB / 1.004 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.02174, allocations: 1.951 MB / 1.006 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.66, allocations: 3.938 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.59960705600679]