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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.47/2.47, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 70.06 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001866/0.2348, allocations: 0.8111 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2362, allocations: 1.166 MB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.2362, allocations: 4 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.2363, allocations: 7.875 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.2364, allocations: 7.875 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.2368, allocations: 135 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.237, allocations: 147.7 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2371, allocations: 31.98 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.2372, allocations: 59.83 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.2373, allocations: 55.75 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.2373, allocations: 16 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.2374, allocations: 27.98 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.2374, allocations: 19.92 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.2375, allocations: 51.84 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.2377, allocations: 151.8 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2377, allocations: 4 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2377, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2377, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 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.0005655/0.2383, allocations: 437 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2383, allocations: 8.031 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.2384, allocations: 46.67 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.2384, allocations: 12.84 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2385, allocations: 172.2 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2385, allocations: 8.375 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.2386, allocations: 8.375 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.2388, allocations: 83.33 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2388, allocations: 3.938 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2388, allocations: 8 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.2388, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.239, allocations: 59.89 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.2395, allocations: 380.5 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.2397, allocations: 62.47 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.2398, allocations: 24.94 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.2398, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.24, allocations: 87.34 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.24, allocations: 4 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003807/0.2404, allocations: 133.5 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2404, allocations: 51.41 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2405, allocations: 137.6 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.2406, allocations: 33.64 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.2406, allocations: 100 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.2407, allocations: 11.91 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.2407, allocations: 37.7 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2409, allocations: 318.8 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.241, allocations: 47.97 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.2412, allocations: 83.39 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.2414, allocations: 116.2 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2414, allocations: 96 / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003873/0.2418, allocations: 199.1 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.2419, allocations: 37.7 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2419, allocations: 4.062 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.2419, allocations: 0 / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.242, allocations: 11.98 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.242, allocations: 11.94 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.2422, allocations: 43.84 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.2422, allocations: 8 kB / 1.069 GB, free: 8.48 MB / 0.8262 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.176e-05/0.2423, allocations: 125.8 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.2424, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2424, allocations: 8.375 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2424, allocations: 7.984 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2424, allocations: 3.938 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2424, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.2426, allocations: 181.6 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2426, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.2426, allocations: 11.98 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2426, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2427, allocations: 8 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2427, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2427, allocations: 3.938 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.2429, allocations: 124.9 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.243, allocations: 85.02 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.243, allocations: 4.359 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/0.2431, allocations: 11.98 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.2431, allocations: 19.92 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.2431, allocations: 7.938 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.2432, allocations: 95.27 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2432, allocations: 0 / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002026/0.2434, allocations: 28.12 kB / 1.07 GB, free: 7.668 MB / 0.8262 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.0005321/0.2439, allocations: 0.6631 MB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.2443, allocations: 167.3 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2443, allocations: 4 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2444, allocations: 40.03 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.2446, allocations: 15.88 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.2464, allocations: 1.602 MB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2467, allocations: 0.6924 MB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.2467, allocations: 8 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.2468, allocations: 27.42 kB / 1.073 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2468, allocations: 0 / 1.073 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.547/5.793, allocations: 2.748 MB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/16.42, allocations: 14.12 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches