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.001502/0.001502, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001682/0.001682, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.06 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.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.89 kB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8093, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001607/0.811, allocations: 0.534 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006155/0.8116, allocations: 334.3 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.8116, allocations: 0 / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.8117, allocations: 0 / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.304e-05/0.8117, allocations: 1.156 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.8121, allocations: 97.8 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.8122, allocations: 11.97 kB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.8122, allocations: 2.812 kB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.8122, allocations: 5.641 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.8123, allocations: 8 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.8123, allocations: 1.188 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.8126, allocations: 189.8 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.8127, allocations: 2.453 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.8127, allocations: 10.27 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.8129, allocations: 84.25 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8129, allocations: 0.7188 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8129, allocations: 0 / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8129, allocations: 1.156 kB / 1.09 GB, free: 4.82 MB / 0.8575 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.00029/0.8132, allocations: 337.7 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.8132, allocations: 10.2 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.8133, allocations: 2.312 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.813e-05/0.8134, allocations: 167.1 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.8134, allocations: 1.75 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.8134, allocations: 6.094 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.657e-05/0.8135, allocations: 35.23 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8135, allocations: 5.547 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.8135, allocations: 4.641 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8135, allocations: 0 / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.8136, allocations: 7.453 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.8137, allocations: 148.9 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.46e-05/0.8137, allocations: 31.58 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.8138, allocations: 8.844 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/0.8142, allocations: 0.5755 MB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.8143, allocations: 36.61 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8143, allocations: 0 / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004518/0.8147, allocations: 251.9 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.8148, allocations: 53.06 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.8148, allocations: 98.91 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.8148, allocations: 26.83 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.8149, allocations: 85.7 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.8149, allocations: 14.34 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.8149, allocations: 15.19 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.815, allocations: 317.2 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.815, allocations: 4.062 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.815, allocations: 24.44 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.8151, allocations: 23.77 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.8151, allocations: 4 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.194e-05/0.8152, allocations: 56.72 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8152, allocations: 10.11 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8152, allocations: 1.094 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.8152, allocations: 0 / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.8153, allocations: 8.438 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.8153, allocations: 0.7031 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.8153, allocations: 0.9688 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.8153, allocations: 5.25 kB / 1.092 GB, free: 2.289 MB / 0.8575 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 4.708e-05/0.8154, allocations: 116.4 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.8154, allocations: 10.5 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.8155, allocations: 56.56 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8155, allocations: 1.156 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8155, allocations: 0.5156 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8155, allocations: 1.125 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.857e-05/0.8156, allocations: 154.7 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8156, allocations: 0 / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.8157, allocations: 8.922 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8157, allocations: 4.781 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.8157, allocations: 1.828 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8157, allocations: 0 / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8157, allocations: 1.859 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.8158, allocations: 83.2 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.8158, allocations: 79.59 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.8159, allocations: 5.375 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.8159, allocations: 4.859 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.8159, allocations: 2.203 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.8159, allocations: 2.672 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.962e-05/0.8159, allocations: 82.78 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8159, allocations: 0 / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002395/0.8162, allocations: 27.62 kB / 1.093 GB, free: 1.652 MB / 0.8575 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.0001849/0.8164, allocations: 125.7 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.349e-05/0.8165, allocations: 17.97 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8165, allocations: 8.062 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.8165, allocations: 8.109 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.8166, allocations: 5.75 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.8169, allocations: 141.6 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.8171, allocations: 0.6772 MB / 1.094 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.8171, allocations: 10.56 kB / 1.094 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8171, allocations: 0 / 1.094 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.002618/0.8198, allocations: 0.8382 MB / 1.095 GB, free: 16.63 MB / 0.8731 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