Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.89 kB / 1.104 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8966, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002146/0.8988, allocations: 0.8079 MB / 1.27 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.9003, allocations: 1.156 MB / 1.271 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.9003, allocations: 0 / 1.271 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.9003, allocations: 15.86 kB / 1.271 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.9004, allocations: 11.94 kB / 1.271 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.9009, allocations: 139.6 kB / 1.271 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.9011, allocations: 151.7 kB / 1.271 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.9012, allocations: 35.86 kB / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.691e-05/0.9013, allocations: 59.83 kB / 1.271 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.9014, allocations: 51.81 kB / 1.271 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.9014, allocations: 16 kB / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.9015, allocations: 31.98 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.9015, allocations: 19.97 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.9016, allocations: 51.78 kB / 1.271 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.9018, allocations: 157.2 kB / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.9018, allocations: 0 / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9018, allocations: 0 / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.9018, allocations: 0 / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006803/0.9025, allocations: 432.8 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9026, allocations: 12.03 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.9026, allocations: 38.69 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.9026, allocations: 20.88 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.9028, allocations: 176.3 kB / 1.272 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.9028, allocations: 8.375 kB / 1.272 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.9028, allocations: 8.375 kB / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.903, allocations: 96.77 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9031, allocations: 3.938 kB / 1.272 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.9031, allocations: 4 kB / 1.272 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.9031, allocations: 4 kB / 1.272 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.9033, allocations: 55.95 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.9038, allocations: 376.6 kB / 1.273 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.904, allocations: 50.55 kB / 1.273 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.9041, allocations: 28.94 kB / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.9041, allocations: 0 / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.9043, allocations: 95.25 kB / 1.273 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.9043, allocations: 0 / 1.273 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004111/0.9048, allocations: 121.6 kB / 1.273 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.9048, allocations: 51.41 kB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.9049, allocations: 141.6 kB / 1.273 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.9049, allocations: 29.7 kB / 1.273 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.905, allocations: 96.09 kB / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.905, allocations: 19.88 kB / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/0.9051, allocations: 37.7 kB / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9052, allocations: 318.8 kB / 1.273 GB, free: 32 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.9054, allocations: 51.97 kB / 1.274 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.9056, allocations: 83.33 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.9058, allocations: 116.3 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.9058, allocations: 4 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004156/0.9062, allocations: 191.2 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.9063, allocations: 33.7 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.9063, allocations: 0 / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9063, allocations: 4 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.9064, allocations: 11.92 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9064, allocations: 8 kB / 1.274 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.9066, allocations: 39.95 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.9066, allocations: 7.984 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.925e-05/0.9067, allocations: 117.8 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.9068, allocations: 7.953 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.9068, allocations: 8.469 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.9068, allocations: 15.92 kB / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9068, allocations: 3.938 kB / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.9068, allocations: 0 / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.907, allocations: 197.9 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.907, allocations: 0 / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.907, allocations: 11.98 kB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.907, allocations: 0 / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.907, allocations: 4 kB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9071, allocations: 3.938 kB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9071, allocations: 3.938 kB / 1.274 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.9073, allocations: 125 kB / 1.274 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.9074, allocations: 89 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.9074, allocations: 0 / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.9074, allocations: 11.98 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.9075, allocations: 15.92 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.9075, allocations: 3.984 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.9076, allocations: 99.28 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9076, allocations: 0 / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000226/0.9078, allocations: 23.98 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006053/0.9084, allocations: 0.6706 MB / 1.275 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.9088, allocations: 155.3 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9088, allocations: 0 / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.9089, allocations: 27.98 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.9091, allocations: 19.86 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.9111, allocations: 1.612 MB / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.9114, allocations: 0.6963 MB / 1.278 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.985e-05/0.9115, allocations: 4 kB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.9115, allocations: 23.42 kB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.9115, allocations: 4 kB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.9371, allocations: 2.822 MB / 1.281 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.928, allocations: 8.688 kB / 1.281 GB, free: 8.578 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 15.118554778862745]