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: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005302/0.005302, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.001257/0.001257, allocations: 196.8 kB / 16.67 MB, free: 5.98 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.225/2.225, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.877, allocations: 140.4 MB / 1.087 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001789/0.8788, allocations: 0.5466 MB / 1.088 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006675/0.8795, allocations: 323.3 kB / 1.088 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.8795, allocations: 0 / 1.088 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.8796, allocations: 9.594 kB / 1.088 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.651e-05/0.8796, allocations: 0 / 1.088 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.8801, allocations: 97.91 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.8802, allocations: 6.547 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.425e-05/0.8803, allocations: 3.75 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/0.8803, allocations: 2.797 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.8804, allocations: 15.67 kB / 1.088 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.8804, allocations: 0 / 1.088 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.8808, allocations: 191.3 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.8809, allocations: 1.688 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.8809, allocations: 10.73 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.8811, allocations: 76.39 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8811, allocations: 0 / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8811, allocations: 0 / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.8812, allocations: 1.859 kB / 1.089 GB, free: 4.859 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.0003599/0.8815, allocations: 336.8 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.8816, allocations: 13.66 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.8816, allocations: 31.36 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.8817, allocations: 2.031 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.8818, allocations: 166.5 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.8818, allocations: 6.156 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.8818, allocations: 5.812 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.8819, allocations: 37.38 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8819, allocations: 3.938 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.882, allocations: 0.9688 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.882, allocations: 4 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.882, allocations: 4.188 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.8822, allocations: 152.2 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.437e-05/0.8822, allocations: 23.77 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.8823, allocations: 11.67 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.8829, allocations: 0.5764 MB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.8829, allocations: 36.72 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.8829, allocations: 0 / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005137/0.8834, allocations: 259.8 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.8835, allocations: 57.36 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.8835, allocations: 100.2 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.8836, allocations: 25.7 kB / 1.09 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.8836, allocations: 81.02 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.8836, allocations: 9.734 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.8836, allocations: 19.16 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.8837, allocations: 313.2 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.8837, allocations: 7.953 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.8838, allocations: 20.55 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.8838, allocations: 28.73 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.8838, allocations: 0 / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.397e-05/0.8839, allocations: 56.39 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.8839, allocations: 10.08 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.884, allocations: 0.875 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.884, allocations: 5.359 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.884, allocations: 6.828 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.884, allocations: 2.094 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.8841, allocations: 0 / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.8841, allocations: 6.625 kB / 1.091 GB, free: 2.277 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 5.357e-05/0.8841, allocations: 107.7 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.8842, allocations: 9.969 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.8843, allocations: 62.7 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8843, allocations: 5.953 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8843, allocations: 0 / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8843, allocations: 1.312 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.195e-05/0.8844, allocations: 154 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8844, allocations: 1.031 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.8845, allocations: 8.906 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.8845, allocations: 5 kB / 1.091 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.8845, allocations: 0.5625 kB / 1.091 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8845, allocations: 1.219 kB / 1.091 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8845, allocations: 0.7969 kB / 1.091 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.8846, allocations: 79.48 kB / 1.091 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.8847, allocations: 82.94 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.8847, allocations: 1.766 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.8847, allocations: 0.875 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.8848, allocations: 6.75 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.8848, allocations: 2.188 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.255e-05/0.8848, allocations: 78.41 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8848, allocations: 64 / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002597/0.8851, allocations: 35.81 kB / 1.092 GB, free: 1.637 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.0004541/0.8855, allocations: 0.6341 MB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.428e-05/0.8856, allocations: 21.7 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8856, allocations: 0.8125 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-05/0.8857, allocations: 15.69 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.8858, allocations: 2.156 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.8868, allocations: 1.143 MB / 1.093 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.8871, allocations: 0.6771 MB / 1.094 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.8871, allocations: 7.438 kB / 1.094 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.8871, allocations: 14.64 kB / 1.094 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8871, allocations: 0 / 1.094 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.9088, allocations: 2.096 MB / 1.096 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.704, allocations: 5.281 kB / 1.096 GB, free: 14.82 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > 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