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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_10_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.00784/0.00784, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.002051/0.002052, allocations: 191 kB / 16.67 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 71.88 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8258, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001714/0.8275, allocations: 0.5368 MB / 1.167 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.8283, allocations: 335.3 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.8283, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.8283, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.911e-05/0.8284, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.8289, allocations: 103.7 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.829, allocations: 8 kB / 1.167 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.829, allocations: 4 kB / 1.167 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.8291, allocations: 7.922 kB / 1.167 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.8291, allocations: 11.98 kB / 1.167 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.8291, allocations: 0 / 1.167 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.8295, allocations: 183.8 kB / 1.167 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.8295, allocations: 0 / 1.167 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.8295, allocations: 11.92 kB / 1.167 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.8297, allocations: 83.73 kB / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8298, allocations: 7.984 kB / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8298, allocations: 4 kB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.8298, allocations: 0 / 1.167 GB, free: 2.492 MB / 0.8887 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.0004192/0.8302, allocations: 333.8 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.8303, allocations: 12.92 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.8303, allocations: 30.75 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.8304, allocations: 4.844 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.8305, allocations: 164.4 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.8305, allocations: 384 / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.8306, allocations: 384 / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.8307, allocations: 42.25 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.8307, allocations: 3.938 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.8307, allocations: 0 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.8307, allocations: 4 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.8308, allocations: 3.938 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.831, allocations: 153.7 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.553e-05/0.831, allocations: 18.61 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.8311, allocations: 12.92 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006959/0.8318, allocations: 0.5739 MB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.8318, allocations: 34.56 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8318, allocations: 4 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005835/0.8324, allocations: 262.2 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.8325, allocations: 55.39 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.8325, allocations: 93.86 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.8326, allocations: 33.7 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.8326, allocations: 84.08 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.8326, allocations: 11.78 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.8327, allocations: 25.92 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8328, allocations: 310.8 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.8329, allocations: 8 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.8329, allocations: 21.7 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.8329, allocations: 21.72 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.8329, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.64e-05/0.8331, allocations: 61.53 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8331, allocations: 7.938 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.8331, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8331, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.8332, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.8332, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.8332, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.8332, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 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.571e-05/0.8333, allocations: 113.9 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.8333, allocations: 7.875 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.8334, allocations: 53.17 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.8335, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.8335, allocations: 4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8335, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.8336, allocations: 153.7 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8336, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.8336, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.8336, allocations: 3.938 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.8337, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8337, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8337, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.8338, allocations: 81.05 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.8338, allocations: 81.05 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.8339, allocations: 4 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.8339, allocations: 4.031 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.8339, allocations: 4.062 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.8339, allocations: 3.984 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.834, allocations: 79.28 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.633e-06/0.834, allocations: 0 / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002233/0.8342, allocations: 31.94 kB / 1.17 GB, free: 14.96 MB / 0.9044 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.0004902/0.8347, allocations: 0.652 MB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.428e-05/0.8348, allocations: 16.03 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8348, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.8349, allocations: 19.92 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.835, allocations: 4.5 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.836, allocations: 1.139 MB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.8363, allocations: 0.6807 MB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.8364, allocations: 4 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.8364, allocations: 15.44 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8364, allocations: 0 / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.8601, allocations: 2.096 MB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.575, allocations: 10.52 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > 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