Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 108 kB / 15.6 MB, free: 132 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.001985/0.001985, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.529/1.529, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.42/2.42, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9136, allocations: 140.4 MB / 0.9496 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002467/0.9161, allocations: 0.5328 MB / 0.9501 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008098/0.9169, allocations: 325.7 kB / 0.9504 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.917, allocations: 4 kB / 0.9504 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.917, allocations: 1.25 kB / 0.9504 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.9171, allocations: 0 / 0.9504 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.9176, allocations: 102.4 kB / 0.9505 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.9177, allocations: 9.359 kB / 0.9505 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.9178, allocations: 1.594 kB / 0.9505 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.9178, allocations: 14.89 kB / 0.9505 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.9179, allocations: 5.281 kB / 0.9505 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.9179, allocations: 1.344 kB / 0.9505 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.9184, allocations: 186.1 kB / 0.9507 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.9184, allocations: 5.172 kB / 0.9507 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.9184, allocations: 13.23 kB / 0.9507 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.9187, allocations: 76.36 kB / 0.9508 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9187, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.795e-06/0.9187, allocations: 1.125 kB / 0.9508 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.9187, allocations: 0 / 0.9508 GB, free: 8.176 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003722/0.9191, allocations: 348 kB / 0.9511 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.9191, allocations: 10.28 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.9192, allocations: 0.9375 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.9193, allocations: 170.3 kB / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.9193, allocations: 384 / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.9194, allocations: 2.125 kB / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.9195, allocations: 34.27 kB / 0.9514 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.9195, allocations: 192 / 0.9514 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.9196, allocations: 5.219 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9196, allocations: 0 / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.9196, allocations: 6.625 kB / 0.9514 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.9198, allocations: 153.1 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.9199, allocations: 31.66 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.9199, allocations: 7.016 kB / 0.9515 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/0.9206, allocations: 0.5803 MB / 0.9521 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.9207, allocations: 31.97 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.552e-06/0.9207, allocations: 0 / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006187/0.9213, allocations: 259.8 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.9214, allocations: 56.59 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.9214, allocations: 93.64 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.9214, allocations: 31.48 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.9215, allocations: 80.14 kB / 0.9526 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.9215, allocations: 13.08 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.9216, allocations: 17.34 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.9216, allocations: 311.9 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.9217, allocations: 8.328 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.562e-05/0.9217, allocations: 21.75 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.9218, allocations: 28.12 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9218, allocations: 0 / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.9219, allocations: 57.72 kB / 0.9531 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.922, allocations: 9.938 kB / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.922, allocations: 0 / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.922, allocations: 5.781 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.9221, allocations: 5.344 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.9221, allocations: 1.094 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.9221, allocations: 0 / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.9221, allocations: 6.594 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.71e-05/0.9222, allocations: 111.3 kB / 0.9532 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.9222, allocations: 5.156 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.9224, allocations: 59.03 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9224, allocations: 4 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.9224, allocations: 1.531 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9224, allocations: 4.031 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.9226, allocations: 154 kB / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9226, allocations: 4 kB / 0.9534 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.9226, allocations: 8.578 kB / 0.9534 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9227, allocations: 5.188 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9227, allocations: 0 / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.9227, allocations: 1.5 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9227, allocations: 0 / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.9228, allocations: 82.66 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.9229, allocations: 78.48 kB / 0.9536 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.9229, allocations: 3.938 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.923, allocations: 9.312 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.923, allocations: 9.297 kB / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.923, allocations: 1.375 kB / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.19e-05/0.923, allocations: 78.03 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.923, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004034/0.9235, allocations: 25.75 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.0002869/0.9238, allocations: 130.7 kB / 0.9538 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.9239, allocations: 15.89 kB / 0.9539 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9239, allocations: 0 / 0.9539 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.924, allocations: 14.62 kB / 0.9539 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.9242, allocations: 5.156 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.9245, allocations: 112.7 kB / 0.954 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.9246, allocations: 0.6818 MB / 0.9547 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.9247, allocations: 3.469 kB / 0.9547 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.9247, allocations: 8.75 kB / 0.9547 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.9247, allocations: 1.438 kB / 0.9547 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of Templates: time 0.005382/0.9301, allocations: 1.205 MB / 0.9558 GB, free: 3.367 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches