Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.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.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",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.001251/0.001251, 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.001279/0.001279, allocations: 197.4 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.246/2.246, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5323/0.5335, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001789/0.5353, allocations: 1.088 MB / 0.9508 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.5361, allocations: 0.9562 MB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.5362, allocations: 6.375 kB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.5362, allocations: 15.75 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.5363, allocations: 35.92 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.5365, allocations: 72.09 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.5367, allocations: 225.6 kB / 0.9521 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.5368, allocations: 69.17 kB / 0.9521 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.5369, allocations: 94 kB / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.537, allocations: 112.1 kB / 0.9523 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.537, allocations: 19.03 kB / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.14e-05/0.5371, allocations: 23.25 kB / 0.9524 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.5371, allocations: 43.77 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.5372, allocations: 90.23 kB / 0.9525 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.5373, allocations: 210 kB / 0.9527 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5373, allocations: 0 / 0.9527 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5373, allocations: 0 / 0.9527 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.5374, allocations: 1.438 kB / 0.9527 GB, free: 6.852 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009222/0.5383, allocations: 0.5582 MB / 0.9533 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.5383, allocations: 9.188 kB / 0.9533 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.5384, allocations: 47.64 kB / 0.9533 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.5384, allocations: 22.94 kB / 0.9533 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.5386, allocations: 218.9 kB / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.5386, allocations: 13.41 kB / 0.9536 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.5386, allocations: 13.56 kB / 0.9536 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.5393, allocations: 240 kB / 0.9538 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5393, allocations: 7.938 kB / 0.9538 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.5393, allocations: 4.969 kB / 0.9538 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.5393, allocations: 4.25 kB / 0.9538 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5404, allocations: 292.3 kB / 0.9541 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.5409, allocations: 498.2 kB / 0.9546 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.5416, allocations: 252.6 kB / 0.9548 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.5422, allocations: 195.1 kB / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.5422, allocations: 2.5 kB / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.5422, allocations: 39.72 kB / 0.955 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.5422, allocations: 4 kB / 0.955 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001689/0.5439, allocations: 0.4953 MB / 0.9555 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.544, allocations: 53.22 kB / 0.9556 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5441, allocations: 175.4 kB / 0.9557 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5441, allocations: 27.05 kB / 0.9558 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.5441, allocations: 131.8 kB / 0.9559 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.5442, allocations: 49.89 kB / 0.9559 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.5442, allocations: 40.7 kB / 0.956 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.5443, allocations: 323 kB / 0.9563 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.5448, allocations: 156.5 kB / 0.9564 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.5454, allocations: 154.3 kB / 0.9566 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.5464, allocations: 302.6 kB / 0.9569 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5464, allocations: 0 / 0.9569 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001125/0.5476, allocations: 357.6 kB / 0.9572 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5476, allocations: 5.25 kB / 0.9572 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5476, allocations: 7.938 kB / 0.9572 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5476, allocations: 1.125 kB / 0.9572 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.548, allocations: 78.97 kB / 0.9573 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.548, allocations: 0 / 0.9573 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.5483, allocations: 62.11 kB / 0.9574 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.5483, allocations: 2.75 kB / 0.9574 GB, free: 3.504 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 7.18e-05/0.5484, allocations: 124.7 kB / 0.9575 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.5484, allocations: 19.97 kB / 0.9575 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.5485, allocations: 28.55 kB / 0.9575 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5485, allocations: 2.75 kB / 0.9575 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5485, allocations: 0 / 0.9575 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.5485, allocations: 0 / 0.9575 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.5487, allocations: 276.1 kB / 0.9578 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5487, allocations: 3.938 kB / 0.9578 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.5491, allocations: 72.61 kB / 0.9579 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5491, allocations: 1.062 kB / 0.9579 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.5491, allocations: 5.125 kB / 0.9579 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5491, allocations: 5.109 kB / 0.9579 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5491, allocations: 0 / 0.9579 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.5508, allocations: 0.6292 MB / 0.9585 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.5509, allocations: 101.1 kB / 0.9586 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.5509, allocations: 5.406 kB / 0.9586 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.5512, allocations: 52.14 kB / 0.9586 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.5513, allocations: 28.75 kB / 0.9587 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.5513, allocations: 2.656 kB / 0.9587 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.763e-05/0.5514, allocations: 140.3 kB / 0.9588 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5514, allocations: 0 / 0.9588 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002438/0.5516, allocations: 38.78 kB / 0.9588 GB, free: 2.383 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00187/0.5535, allocations: 1.177 MB / 0.96 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.5547, allocations: 334.2 kB / 0.9603 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5547, allocations: 0 / 0.9603 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.5553, allocations: 174 kB / 0.9605 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.5557, allocations: 39.52 kB / 0.9605 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.5598, allocations: 2.509 MB / 0.963 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.5601, allocations: 0.728 MB / 0.9637 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.46e-05/0.5602, allocations: 16.3 kB / 0.9637 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.5603, allocations: 59.95 kB / 0.9637 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5603, allocations: 0 / 0.9637 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.614/2.174, allocations: 4.584 MB / 0.9682 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/12.72, allocations: 14.23 kB / 0.9682 GB, free: 12.32 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches