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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001368/0.001368, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001558/0.001558, allocations: 194.2 kB / 16.14 MB, free: 6.645 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 72.58 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2309, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001552/0.2325, allocations: 0.6073 MB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.2331, allocations: 347 kB / 1.053 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.207e-05/0.2331, allocations: 0 / 1.053 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.2332, allocations: 0 / 1.053 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.347e-05/0.2332, allocations: 3.938 kB / 1.053 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2335, allocations: 71.84 kB / 1.053 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.612e-05/0.2335, allocations: 4 kB / 1.053 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.2336, allocations: 7.984 kB / 1.053 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.2336, allocations: 7.938 kB / 1.053 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.2336, allocations: 7.938 kB / 1.053 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2336, allocations: 0 / 1.053 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.2339, allocations: 183.8 kB / 1.053 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.2339, allocations: 15.98 kB / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.2339, allocations: 0 / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2341, allocations: 79.8 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2341, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2341, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.2341, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 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.0002828/0.2344, allocations: 339.8 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2344, allocations: 8.031 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.2345, allocations: 34.75 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.2345, allocations: 0.9375 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.2346, allocations: 180.2 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2346, allocations: 4.375 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2346, allocations: 4.375 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.815e-05/0.2347, allocations: 30.27 kB / 1.054 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.2347, allocations: 3.938 kB / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.2347, allocations: 0 / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2347, allocations: 0 / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.2348, allocations: 11.92 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2349, allocations: 153.7 kB / 1.054 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.172e-05/0.2349, allocations: 26.56 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.235, allocations: 4.859 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005275/0.2355, allocations: 0.5817 MB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2355, allocations: 34.56 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2355, allocations: 0 / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004061/0.2359, allocations: 250.3 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.236, allocations: 55.34 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.236, allocations: 97.86 kB / 1.055 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2361, allocations: 33.91 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.2361, allocations: 80.14 kB / 1.055 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.2361, allocations: 15.81 kB / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.2362, allocations: 13.72 kB / 1.055 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.2362, allocations: 314.8 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.2363, allocations: 7.984 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.2363, allocations: 13.72 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.268e-05/0.2363, allocations: 33.72 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2363, allocations: 4 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.421e-05/0.2364, allocations: 53.62 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2364, allocations: 7.938 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2365, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.2365, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.2365, allocations: 8 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2365, allocations: 0 / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.2365, allocations: 8.047 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2366, allocations: 4 kB / 1.056 GB, free: 4.105 MB / 0.8106 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.668e-05/0.2366, allocations: 109.8 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.2366, allocations: 7.938 kB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2367, allocations: 57.09 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2368, allocations: 384 / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.2368, allocations: 3.938 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2368, allocations: 0 / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.896e-05/0.2369, allocations: 161.7 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2369, allocations: 0 / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.2369, allocations: 11.98 kB / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2369, allocations: 7.922 kB / 1.056 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.2369, allocations: 0 / 1.056 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2369, allocations: 3.938 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2369, allocations: 3.938 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.2371, allocations: 77.16 kB / 1.056 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.2371, allocations: 85.11 kB / 1.056 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2371, allocations: 3.984 kB / 1.056 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.231e-05/0.2372, allocations: 0 / 1.056 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.2372, allocations: 4 kB / 1.056 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2372, allocations: 0 / 1.056 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.2372, allocations: 79.28 kB / 1.056 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2372, allocations: 0 / 1.056 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002124/0.2374, allocations: 31.98 kB / 1.056 GB, free: 3.367 MB / 0.8106 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.0003785/0.2378, allocations: 0.6436 MB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.601e-05/0.2379, allocations: 16 kB / 1.057 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2379, allocations: 0 / 1.057 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.691e-05/0.2379, allocations: 15.92 kB / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.2381, allocations: 0 / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.2389, allocations: 1.149 MB / 1.058 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.2391, allocations: 0.677 MB / 1.059 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.2391, allocations: 4.078 kB / 1.059 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.2391, allocations: 15.44 kB / 1.059 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.2391, allocations: 0 / 1.059 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2964/0.5355, allocations: 1.971 MB / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.5358, allocations: 239.4 kB / 1.061 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.424, allocations: 0 / 1.061 GB, free: 14.62 MB / 0.8262 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