Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001296, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 192.8 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 62 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2426, allocations: 157.4 MB / 1.052 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002138/0.2448, allocations: 0.8609 MB / 1.053 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.2463, allocations: 1.174 MB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.2464, allocations: 0 / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.274e-05/0.2465, allocations: 3.938 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.2465, allocations: 15.91 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.247, allocations: 133.3 kB / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.2472, allocations: 123.8 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2473, allocations: 35.97 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.2474, allocations: 43.91 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.2475, allocations: 51.81 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.2476, allocations: 8 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.2476, allocations: 27.91 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.2477, allocations: 15.92 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.2478, allocations: 43.78 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.248, allocations: 151.8 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.248, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.248, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.248, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 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.000668/0.2487, allocations: 425 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2487, allocations: 15.97 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.2488, allocations: 34.75 kB / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.2488, allocations: 16.84 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.249, allocations: 176.2 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.249, allocations: 8.375 kB / 1.055 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.249, allocations: 12.31 kB / 1.055 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2493, allocations: 90.2 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2493, allocations: 11.92 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2493, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2493, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.2495, allocations: 59.95 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.2501, allocations: 384.5 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2503, allocations: 50.55 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2504, allocations: 28.94 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.2504, allocations: 3.938 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.2507, allocations: 91.3 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.2507, allocations: 0 / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004254/0.2511, allocations: 125.5 kB / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.2512, allocations: 55.41 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.2513, allocations: 133.6 kB / 1.056 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.2513, allocations: 25.7 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.2514, allocations: 111.9 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.2515, allocations: 11.89 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2516, allocations: 33.7 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2517, allocations: 322.8 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.2519, allocations: 51.91 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.2521, allocations: 83.39 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.2523, allocations: 112.2 kB / 1.057 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2523, allocations: 0 / 1.057 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000441/0.2528, allocations: 195.2 kB / 1.057 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.2528, allocations: 38.89 kB / 1.057 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2528, allocations: 4 kB / 1.057 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2529, allocations: 0 / 1.057 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.2529, allocations: 7.984 kB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.253, allocations: 7.938 kB / 1.057 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.2532, allocations: 35.95 kB / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2532, allocations: 11.98 kB / 1.057 GB, free: 2.484 MB / 0.8106 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.755e-05/0.2533, allocations: 125.8 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.2534, allocations: 3.906 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.2534, allocations: 12.38 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2534, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2534, allocations: 3.938 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2534, allocations: 3.984 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.2536, allocations: 189.9 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2536, allocations: 4 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.2537, allocations: 19.92 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2537, allocations: 3.938 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2537, allocations: 0 / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2537, allocations: 0 / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2537, allocations: 3.938 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.254, allocations: 125 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.254, allocations: 81.02 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.254, allocations: 4 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.2541, allocations: 15.98 kB / 1.058 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.2542, allocations: 15.91 kB / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2542, allocations: 4.094 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.2542, allocations: 95.2 kB / 1.058 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2543, allocations: 0 / 1.058 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002355/0.2545, allocations: 24 kB / 1.058 GB, free: 1.668 MB / 0.8106 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.000547/0.255, allocations: 0.6631 MB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.2554, allocations: 171.3 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2554, allocations: 0 / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.2556, allocations: 36.11 kB / 1.059 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.2558, allocations: 19.92 kB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.2578, allocations: 1.608 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.258, allocations: 0.7004 MB / 1.061 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.2581, allocations: 4 kB / 1.061 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.2581, allocations: 19.42 kB / 1.061 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2581, allocations: 0 / 1.061 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/0.3717, allocations: 2.503 MB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.3719, allocations: 225.5 kB / 1.064 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.052, allocations: 1.75 kB / 1.064 GB, free: 11.69 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches