Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001318/0.001318, allocations: 98.95 kB / 16.35 MB, free: 5.824 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.001395/0.001395, allocations: 195.8 kB / 17.29 MB, free: 5.48 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.97 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3552, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001894/0.3572, allocations: 0.5384 MB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006988/0.3579, allocations: 326.9 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.3579, allocations: 3.938 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.3579, allocations: 0 / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.661e-05/0.358, allocations: 4 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.3584, allocations: 103.6 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.3585, allocations: 11.98 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.3585, allocations: 4 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.3586, allocations: 3.984 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.3586, allocations: 4 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3587, allocations: 4 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.3589, allocations: 199.7 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.359, allocations: 0 / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.359, allocations: 3.984 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3592, allocations: 83.8 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3592, allocations: 0 / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3592, allocations: 7.938 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3592, allocations: 0 / 1.02 GB, free: 8.516 MB / 0.795 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.0003857/0.3596, allocations: 337.8 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3596, allocations: 12.03 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3597, allocations: 8.922 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3598, allocations: 160.4 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.3598, allocations: 384 / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3598, allocations: 8.281 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.36, allocations: 38.25 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.36, allocations: 192 / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.36, allocations: 3.938 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.36, allocations: 0 / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.36, allocations: 4 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.3602, allocations: 157.7 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.5e-05/0.3602, allocations: 26.5 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.3603, allocations: 8.922 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/0.3609, allocations: 0.5778 MB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3609, allocations: 30.56 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.886e-06/0.3609, allocations: 0 / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005133/0.3614, allocations: 258.3 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3615, allocations: 51.41 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.3616, allocations: 102.1 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3616, allocations: 25.7 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.3616, allocations: 84.14 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.3617, allocations: 11.81 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.3617, allocations: 17.72 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3619, allocations: 314.8 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.3619, allocations: 11.88 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.3619, allocations: 17.72 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.362, allocations: 29.72 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.362, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.678e-05/0.3621, allocations: 53.62 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3621, allocations: 7.938 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3621, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3621, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.3622, allocations: 11.98 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3622, allocations: 4.062 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.3622, allocations: 0 / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3622, allocations: 4 kB / 1.022 GB, free: 5.766 MB / 0.795 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.848e-05/0.3623, allocations: 109.8 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.3623, allocations: 7.938 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.3624, allocations: 57.11 kB / 1.022 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3624, allocations: 0 / 1.022 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3625, allocations: 0 / 1.022 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.3625, allocations: 3.984 kB / 1.022 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3626, allocations: 157.7 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3626, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.3626, allocations: 8 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3627, allocations: 3.938 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3627, allocations: 4 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3627, allocations: 0 / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3627, allocations: 0 / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.3628, allocations: 84.97 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3629, allocations: 89.52 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3629, allocations: 3.938 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.3629, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.363, allocations: 4.031 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.363, allocations: 4 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.363, allocations: 83.27 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.363, allocations: 0 / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002247/0.3633, allocations: 31.92 kB / 1.023 GB, free: 5.02 MB / 0.795 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.0002116/0.3635, allocations: 131.2 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.214e-05/0.3636, allocations: 19.94 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3636, allocations: 0 / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.3636, allocations: 8 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.3638, allocations: 7.984 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.364, allocations: 109.6 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.3643, allocations: 0.6805 MB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.3643, allocations: 12.11 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.3644, allocations: 7.438 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3644, allocations: 4 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of Templates: time 0.003473/0.3678, allocations: 1.199 MB / 1.025 GB, free: 2.797 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches