Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_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.006734/0.006734, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001531/0.001531, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.3 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2282, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00205/0.2303, allocations: 0.8013 MB / 1.088 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2318, allocations: 1.157 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.2318, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.2319, allocations: 7.875 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.232, allocations: 11.92 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.2326, allocations: 145.4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.2328, allocations: 151.7 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2329, allocations: 31.92 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.233, allocations: 55.89 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.2331, allocations: 63.8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.2332, allocations: 15.94 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.2333, allocations: 27.98 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.2333, allocations: 23.91 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.2334, allocations: 55.78 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2336, allocations: 142.4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2336, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2336, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2336, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 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.0006261/0.2343, allocations: 433.8 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2343, allocations: 8.031 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.2344, allocations: 42.73 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.2344, allocations: 16.83 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2345, allocations: 176.2 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2346, allocations: 12.38 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.2346, allocations: 12.31 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.2348, allocations: 86.14 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2349, allocations: 7.938 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2349, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2349, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.2351, allocations: 59.2 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.2357, allocations: 376.5 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.2358, allocations: 58.55 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.236, allocations: 32.92 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.236, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.2362, allocations: 83.31 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.2362, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004353/0.2366, allocations: 129.5 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.2367, allocations: 51.41 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2368, allocations: 133.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.2368, allocations: 29.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.2369, allocations: 104 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.2369, allocations: 7.906 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.237, allocations: 45.69 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.2371, allocations: 314.8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2373, allocations: 51.95 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.2375, allocations: 75.34 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.2377, allocations: 128.3 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2377, allocations: 4.094 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004241/0.2382, allocations: 191.1 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.2382, allocations: 41.69 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2382, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2382, allocations: 4.062 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.2383, allocations: 15.92 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2383, allocations: 3.938 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.2386, allocations: 43.8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2386, allocations: 8 kB / 1.093 GB, free: 12.3 MB / 0.8575 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.091e-05/0.2387, allocations: 123.8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.2387, allocations: 8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.2388, allocations: 12.36 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2388, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2388, allocations: 3.938 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2388, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.2389, allocations: 185.9 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2389, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.239, allocations: 8 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.239, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.239, allocations: 7.984 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2391, allocations: 7.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2391, allocations: 7.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.2393, allocations: 117 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.2394, allocations: 85 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2394, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.2395, allocations: 7.984 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2396, allocations: 23.91 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2396, allocations: 4 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.2396, allocations: 91.27 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2396, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002329/0.2399, allocations: 28 kB / 1.093 GB, free: 11.48 MB / 0.8575 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.0005365/0.2404, allocations: 0.6632 MB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.2408, allocations: 171.3 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2408, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2409, allocations: 35.97 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.2412, allocations: 25.56 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.2431, allocations: 1.594 MB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2433, allocations: 0.6923 MB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.2433, allocations: 11.73 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.2434, allocations: 23.44 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.2434, allocations: 0 / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3092/0.5527, allocations: 2.812 MB / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.796, allocations: 6.625 kB / 1.099 GB, free: 5.422 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches