Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",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.005763/0.005763, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001594/0.001594, allocations: 199 kB / 16.68 MB, free: 5.969 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.329/1.329, 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 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 64.12 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2504, allocations: 159.1 MB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002209/0.2526, allocations: 1.497 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.2533, allocations: 454.9 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.2533, allocations: 3.938 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.488e-05/0.2534, allocations: 3.938 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.2535, allocations: 11.86 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.2536, allocations: 43.94 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2538, allocations: 99.7 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.767e-05/0.2539, allocations: 16.17 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.254, allocations: 51.83 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.2541, allocations: 43.83 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.2541, allocations: 12 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.2541, allocations: 8 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.2542, allocations: 15.92 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.2542, allocations: 35.86 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2544, allocations: 83.69 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2544, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2544, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.2544, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006376/0.255, allocations: 458.5 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.2551, allocations: 8.031 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.2551, allocations: 38.75 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2552, allocations: 8.891 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.2553, allocations: 196.1 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2554, allocations: 4.375 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.2554, allocations: 12.38 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2557, allocations: 117.5 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2557, allocations: 0 / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2557, allocations: 8 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.2557, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.256, allocations: 83.92 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.2565, allocations: 336.6 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.2568, allocations: 110.5 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.257, allocations: 72.94 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.257, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.2573, allocations: 119.3 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 4.208e-06/0.2573, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000661/0.258, allocations: 279.1 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.258, allocations: 85.11 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.2581, allocations: 129.8 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.2582, allocations: 25.7 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.2582, allocations: 104.1 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.2583, allocations: 19.84 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.2583, allocations: 25.72 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2584, allocations: 322.8 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.2586, allocations: 67.95 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.2588, allocations: 67.94 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.2592, allocations: 185.8 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2592, allocations: 0 / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004748/0.2597, allocations: 257 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.2597, allocations: 69.27 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.2597, allocations: 3.938 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.2597, allocations: 4 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.2598, allocations: 15.98 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2599, allocations: 352 / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.26, allocations: 27.91 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.26, allocations: 11.94 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001078/0.2601, allocations: 151.5 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.2602, allocations: 7.953 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.2602, allocations: 12.38 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2602, allocations: 4 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2602, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2602, allocations: 3.938 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.2604, allocations: 201.5 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2604, allocations: 0 / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.2605, allocations: 11.98 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2605, allocations: 0 / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2605, allocations: 11.97 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2605, allocations: 0 / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2605, allocations: 0 / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.261, allocations: 254.6 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.261, allocations: 81.11 kB / 1.226 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.2611, allocations: 4 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2612, allocations: 19.97 kB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.2613, allocations: 31.97 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.2613, allocations: 12 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.2614, allocations: 110.1 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2614, allocations: 0 / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001929/0.2616, allocations: 27.95 kB / 1.226 GB, free: 7.445 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0007299/0.2623, allocations: 0.7786 MB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000469/0.2628, allocations: 262.7 kB / 1.227 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2628, allocations: 0 / 1.227 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.2631, allocations: 143.3 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.2633, allocations: 16 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.2654, allocations: 1.763 MB / 1.229 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.2657, allocations: 0.6924 MB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.395e-05/0.2657, allocations: 11.98 kB / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.2658, allocations: 27.42 kB / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2658, allocations: 0 / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.732/2.998, allocations: 3.027 MB / 1.233 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/13.24, allocations: 4.062 kB / 1.233 GB, free: 0.6406 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches