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: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_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.006429/0.006429, allocations: 103.1 kB / 15.73 MB, free: 6.035 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.001534/0.001534, allocations: 200.4 kB / 16.68 MB, free: 5.957 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.521/2.521, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001563, allocations: 60.14 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8335, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0019/0.8354, allocations: 0.5424 MB / 1.208 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.8361, allocations: 317 kB / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.8362, allocations: 0 / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.8362, allocations: 0 / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.8363, allocations: 3.938 kB / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.8367, allocations: 99.75 kB / 1.208 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.17e-05/0.8368, allocations: 11.88 kB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.8368, allocations: 7.984 kB / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.8369, allocations: 8 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.8369, allocations: 3.938 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.8369, allocations: 4 kB / 1.208 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.8372, allocations: 183.8 kB / 1.208 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.8373, allocations: 15.92 kB / 1.208 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.8373, allocations: 4 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.8375, allocations: 79.8 kB / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8375, allocations: 0 / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8375, allocations: 0 / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.8375, allocations: 0 / 1.208 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.000363/0.8379, allocations: 337.8 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.8379, allocations: 8.031 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.8379, allocations: 30.75 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.838, allocations: 8.844 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.8381, allocations: 168.4 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.8381, allocations: 4.375 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.8381, allocations: 4.375 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.8382, allocations: 34.2 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.8383, allocations: 7.938 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.8383, allocations: 0 / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.8383, allocations: 0 / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.459e-05/0.8383, allocations: 7.984 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.8385, allocations: 153.7 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/0.8385, allocations: 26.56 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.8386, allocations: 4.859 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/0.8392, allocations: 0.5779 MB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.8392, allocations: 38.5 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8392, allocations: 0 / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005138/0.8397, allocations: 266.3 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.8398, allocations: 51.41 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.8398, allocations: 97.86 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.8399, allocations: 25.7 kB / 1.21 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.8399, allocations: 84.12 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.8399, allocations: 11.91 kB / 1.21 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.84, allocations: 13.72 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.8401, allocations: 318.9 kB / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.8401, allocations: 7.984 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.8401, allocations: 13.72 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.8402, allocations: 25.66 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.8402, allocations: 4 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.473e-05/0.8403, allocations: 57.66 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.8403, allocations: 11.94 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8403, allocations: 3.938 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.8403, allocations: 0 / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.8404, allocations: 11.94 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8404, allocations: 0 / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.8404, allocations: 0 / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.8404, allocations: 7.984 kB / 1.211 GB, free: 9.531 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 6.34e-05/0.8405, allocations: 105.8 kB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.8405, allocations: 7.938 kB / 1.211 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.8406, allocations: 57.19 kB / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8406, allocations: 0 / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8407, allocations: 0 / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8407, allocations: 384 / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.8408, allocations: 157.7 kB / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8408, allocations: 3.938 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.8408, allocations: 11.98 kB / 1.211 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8408, allocations: 3.938 kB / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.8408, allocations: 0 / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8409, allocations: 0 / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8409, allocations: 7.984 kB / 1.211 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.841, allocations: 77.16 kB / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.841, allocations: 81.05 kB / 1.211 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.8411, allocations: 0 / 1.211 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.8411, allocations: 7.922 kB / 1.211 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.8411, allocations: 4 kB / 1.211 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.8411, allocations: 4 kB / 1.211 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.8412, allocations: 83.34 kB / 1.211 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8412, allocations: 0 / 1.211 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002161/0.8414, allocations: 31.98 kB / 1.211 GB, free: 8.793 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.0004146/0.8418, allocations: 0.6396 MB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.8419, allocations: 20.06 kB / 1.212 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8419, allocations: 4.062 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.556e-05/0.8419, allocations: 11.98 kB / 1.212 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.8421, allocations: 0 / 1.212 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008762/0.843, allocations: 1.158 MB / 1.213 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.8432, allocations: 0.6806 MB / 1.214 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.8432, allocations: 7.953 kB / 1.214 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.8432, allocations: 7.438 kB / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8433, allocations: 4 kB / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.8626, allocations: 2.091 MB / 1.216 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/8.028, allocations: 9.844 kB / 1.216 GB, free: 4.16 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > 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