Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.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: translateModel(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") translateModel(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, 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.001064/0.001064, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.336/1.336, 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 9.1.3-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 68.12 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6221/0.6236, allocations: 140.3 MB / 0.9489 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002911/0.6266, allocations: 1.858 MB / 0.9507 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.6275, allocations: 0.5734 MB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.6276, allocations: 9.688 kB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.6277, allocations: 17.02 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.6281, allocations: 62.52 kB / 0.9514 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.6283, allocations: 76.09 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.6286, allocations: 256.2 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.6288, allocations: 38.02 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.6289, allocations: 95.44 kB / 0.9518 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.6291, allocations: 133.2 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.6291, allocations: 8.906 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.934e-05/0.6292, allocations: 10 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.6293, allocations: 64.92 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/0.6294, allocations: 95.27 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.6296, allocations: 202 kB / 0.9523 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6296, allocations: 0 / 0.9523 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6296, allocations: 0 / 0.9523 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.6296, allocations: 0 / 0.9523 GB, free: 6.82 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009752/0.6306, allocations: 0.5354 MB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6307, allocations: 10.34 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.6307, allocations: 24.12 kB / 0.9528 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.6311, allocations: 282.7 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.6311, allocations: 5.594 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.6312, allocations: 25.19 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.6314, allocations: 148.2 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6314, allocations: 1.062 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.6315, allocations: 12.89 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.6315, allocations: 9.141 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.6318, allocations: 142.6 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007906/0.6326, allocations: 0.5491 MB / 0.954 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.6329, allocations: 179.1 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.633, allocations: 67.89 kB / 0.9542 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.633, allocations: 1.75 kB / 0.9542 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.6331, allocations: 39.84 kB / 0.9543 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.6331, allocations: 1.406 kB / 0.9543 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005122/0.6336, allocations: 248.2 kB / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.6336, allocations: 57.59 kB / 0.9546 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.634, allocations: 248 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.634, allocations: 30.86 kB / 0.9548 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.6341, allocations: 129.8 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.6341, allocations: 67.41 kB / 0.955 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.6342, allocations: 48.42 kB / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.6343, allocations: 336.8 kB / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.6344, allocations: 73.39 kB / 0.9554 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.6346, allocations: 89.08 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.6348, allocations: 183.5 kB / 0.9557 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6348, allocations: 0 / 0.9557 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003512/0.6352, allocations: 248.8 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6352, allocations: 4.469 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6352, allocations: 3.984 kB / 0.9559 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6352, allocations: 1.469 kB / 0.956 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.6356, allocations: 71.25 kB / 0.956 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.6356, allocations: 1.656 kB / 0.956 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.6358, allocations: 22.95 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.6358, allocations: 3.594 kB / 0.956 GB, free: 3.91 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 (26): * Single equations (assignments): 26 * 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 9.014e-05/0.6359, allocations: 142.4 kB / 0.9562 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.6359, allocations: 23.03 kB / 0.9562 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.636, allocations: 30.86 kB / 0.9562 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.636, allocations: 5.719 kB / 0.9562 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.636, allocations: 5.781 kB / 0.9562 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.636, allocations: 0 / 0.9562 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.6363, allocations: 310.3 kB / 0.9565 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6363, allocations: 0 / 0.9565 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.6365, allocations: 31.64 kB / 0.9566 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6365, allocations: 0 / 0.9566 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.6365, allocations: 5.375 kB / 0.9566 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6365, allocations: 5.312 kB / 0.9566 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6365, allocations: 7.922 kB / 0.9566 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.637, allocations: 377.3 kB / 0.9569 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.6371, allocations: 118.5 kB / 0.9571 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.6372, allocations: 10.69 kB / 0.9571 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.6374, allocations: 13.3 kB / 0.9571 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.6374, allocations: 9.328 kB / 0.9571 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.6374, allocations: 2.688 kB / 0.9571 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002452/0.6377, allocations: 182 kB / 0.9573 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6377, allocations: 4 kB / 0.9573 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002923/0.638, allocations: 50 kB / 0.9573 GB, free: 2.887 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * 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 (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 Backend phase and start with SimCode phase: time 0.0001081/0.6381, allocations: 110.9 kB / 0.9574 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.6384, allocations: 172.9 kB / 0.9576 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6384, allocations: 0 / 0.9576 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.6386, allocations: 77.31 kB / 0.9577 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.639, allocations: 47.33 kB / 0.9577 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6402, allocations: 0.6564 MB / 0.9584 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.6404, allocations: 0.7601 MB / 0.9591 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.6405, allocations: 46.47 kB / 0.9591 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.6406, allocations: 22.97 kB / 0.9592 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6406, allocations: 0 / 0.9592 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of Templates: time 0.004903/0.6455, allocations: 2.099 MB / 0.9612 GB, free: 420 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches