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.001594/0.001594, allocations: 106.3 kB / 16.27 MB, free: 6.008 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.001722/0.001722, allocations: 187 kB / 17.19 MB, free: 5.645 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.176/2.176, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 65.16 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2644, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002035/0.2665, allocations: 0.5341 MB / 0.9508 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.2672, allocations: 329 kB / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.2673, allocations: 4 kB / 0.9511 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.2673, allocations: 0 / 0.9511 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.715e-05/0.2674, allocations: 0 / 0.9511 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.2679, allocations: 95.69 kB / 0.9512 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.184e-05/0.268, allocations: 8 kB / 0.9512 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.268, allocations: 4 kB / 0.9512 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.2681, allocations: 7.938 kB / 0.9512 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.2681, allocations: 11.97 kB / 0.9512 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2681, allocations: 0 / 0.9512 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.2685, allocations: 191.8 kB / 0.9514 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.2685, allocations: 0 / 0.9514 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.2685, allocations: 7.938 kB / 0.9514 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2687, allocations: 87.78 kB / 0.9515 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2687, allocations: 0 / 0.9515 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2687, allocations: 0 / 0.9515 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.2687, allocations: 0 / 0.9515 GB, free: 7.586 MB / 0.7325 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.0003927/0.2691, allocations: 343.7 kB / 0.9518 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.2692, allocations: 12.03 kB / 0.9518 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.2692, allocations: 4.938 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2694, allocations: 164.3 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2694, allocations: 4.375 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.2694, allocations: 384 / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2696, allocations: 34.25 kB / 0.952 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2696, allocations: 192 / 0.952 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2696, allocations: 7.938 kB / 0.9521 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2696, allocations: 4 kB / 0.9521 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.2696, allocations: 4 kB / 0.9521 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.2698, allocations: 157.6 kB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.2699, allocations: 22.55 kB / 0.9522 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.2699, allocations: 8.922 kB / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/0.2706, allocations: 0.5817 MB / 0.9528 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2706, allocations: 34.56 kB / 0.9528 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2706, allocations: 0 / 0.9528 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005754/0.2712, allocations: 254.5 kB / 0.9531 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2712, allocations: 63.39 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.2713, allocations: 93.86 kB / 0.9532 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2713, allocations: 25.7 kB / 0.9533 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.2714, allocations: 84.14 kB / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.2714, allocations: 11.81 kB / 0.9533 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.2715, allocations: 21.64 kB / 0.9534 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2716, allocations: 314.8 kB / 0.9537 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.2716, allocations: 4 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.2717, allocations: 25.7 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.2717, allocations: 29.66 kB / 0.9537 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2717, allocations: 0 / 0.9537 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.393e-05/0.2718, allocations: 49.64 kB / 0.9538 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2718, allocations: 11.92 kB / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2718, allocations: 0 / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2719, allocations: 8.062 kB / 0.9538 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.2719, allocations: 4 kB / 0.9538 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2719, allocations: 0 / 0.9538 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.2719, allocations: 4 kB / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.272, allocations: 0 / 0.9538 GB, free: 4.824 MB / 0.7325 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 7.267e-05/0.272, allocations: 111.8 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2721, allocations: 7.938 kB / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.2722, allocations: 57.11 kB / 0.954 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2722, allocations: 4 kB / 0.954 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2722, allocations: 0 / 0.954 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2722, allocations: 0 / 0.954 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2723, allocations: 157.7 kB / 0.9541 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2723, allocations: 0 / 0.9541 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.2724, allocations: 4 kB / 0.9541 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2724, allocations: 3.938 kB / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2724, allocations: 0 / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2724, allocations: 0 / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2724, allocations: 4 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.2726, allocations: 92.95 kB / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.2726, allocations: 77.11 kB / 0.9543 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2726, allocations: 3.938 kB / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.2727, allocations: 0 / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.2727, allocations: 4.031 kB / 0.9543 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.2727, allocations: 0 / 0.9543 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.2728, allocations: 87.27 kB / 0.9544 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2728, allocations: 0 / 0.9544 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002311/0.273, allocations: 28 kB / 0.9544 GB, free: 4.09 MB / 0.7325 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.0002182/0.2732, allocations: 135.7 kB / 0.9545 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.2733, allocations: 16 kB / 0.9546 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2733, allocations: 0 / 0.9546 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.2734, allocations: 15.92 kB / 0.9546 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.2735, allocations: 5.031 kB / 0.9546 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.2738, allocations: 139.4 kB / 0.9547 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2741, allocations: 0.6805 MB / 0.9554 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.2741, allocations: 11.44 kB / 0.9554 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2741, allocations: 0 / 0.9554 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of Templates: time 0.002396/0.2765, allocations: 0.8272 MB / 0.9562 GB, free: 2.203 MB / 0.7325 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/jenkins1/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