Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001551/0.001552, allocations: 109.8 kB / 16.41 MB, free: 6.512 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.001468/0.001468, allocations: 187 kB / 17.34 MB, free: 5.742 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8486, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001862/0.8505, allocations: 0.5463 MB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007256/0.8513, allocations: 322.9 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.8513, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.8513, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.8514, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.8519, allocations: 103.7 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.8519, allocations: 8 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.852, allocations: 3.984 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.852, allocations: 7.938 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.8521, allocations: 4 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.8521, allocations: 4 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.8525, allocations: 187.7 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.8525, allocations: 3.938 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.8525, allocations: 11.92 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.8527, allocations: 87.8 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8527, allocations: 0 / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8527, allocations: 0 / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8527, allocations: 0 / 1.21 GB, free: 12.34 MB / 0.9356 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.0003916/0.8531, allocations: 339.4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.8532, allocations: 8.031 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.8532, allocations: 8.844 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.8533, allocations: 160.4 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.8534, allocations: 384 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.8534, allocations: 384 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.8535, allocations: 42.25 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.8535, allocations: 4.188 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8535, allocations: 3.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.8535, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.8536, allocations: 3.938 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.8538, allocations: 153.7 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.8538, allocations: 22.61 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.8539, allocations: 12.84 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/0.8545, allocations: 0.5779 MB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.8546, allocations: 30.56 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8546, allocations: 4 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005385/0.8551, allocations: 258.2 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.8552, allocations: 51.41 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.8553, allocations: 94.05 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.8553, allocations: 25.7 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.8553, allocations: 88.12 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.8554, allocations: 8.109 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.8554, allocations: 25.66 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8556, allocations: 318.8 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.8556, allocations: 0 / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.8556, allocations: 29.73 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.829e-05/0.8557, allocations: 21.72 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.8557, allocations: 4 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.785e-05/0.8558, allocations: 53.62 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8558, allocations: 11.94 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8558, allocations: 0 / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.8558, allocations: 0 / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.8559, allocations: 8 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8559, allocations: 3.938 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.8559, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.8559, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 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 8.831e-05/0.856, allocations: 117.9 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.8561, allocations: 11.83 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.8562, allocations: 54.95 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.8562, allocations: 4 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8562, allocations: 0 / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8562, allocations: 0 / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.8564, allocations: 157.7 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8564, allocations: 0 / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.8565, allocations: 4 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.8565, allocations: 3.938 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.8565, allocations: 11.98 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8565, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8565, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.8566, allocations: 77.06 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.8567, allocations: 77.11 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.8567, allocations: 7.969 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.8568, allocations: 0 / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.8568, allocations: 8.047 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.8568, allocations: 8 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.8568, allocations: 75.28 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8569, allocations: 0 / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002345/0.8571, allocations: 28 kB / 1.213 GB, free: 8.859 MB / 0.9356 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.0002445/0.8573, allocations: 129.7 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.8574, allocations: 23.92 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8575, allocations: 0 / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-05/0.8575, allocations: 8.125 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.8576, allocations: 8 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.8579, allocations: 143.1 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.8582, allocations: 0.6768 MB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.8583, allocations: 11.44 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.8583, allocations: 0 / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.002625/0.8609, allocations: 0.8315 MB / 1.214 GB, free: 6.965 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches