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.00143/0.00143, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 198.8 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.178/2.178, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5352, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001469/0.5367, allocations: 0.5361 MB / 0.9502 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004546/0.5372, allocations: 325 kB / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.5372, allocations: 0 / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.007e-05/0.5373, allocations: 1.375 kB / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.392e-05/0.5373, allocations: 0 / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.5376, allocations: 98.19 kB / 0.9507 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.049e-05/0.5377, allocations: 9.5 kB / 0.9507 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.5377, allocations: 1.375 kB / 0.9507 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.5377, allocations: 6.688 kB / 0.9507 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.5378, allocations: 13.34 kB / 0.9507 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.5378, allocations: 1.375 kB / 0.9507 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.538, allocations: 186.6 kB / 0.9509 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.538, allocations: 1.156 kB / 0.9509 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.5381, allocations: 9.188 kB / 0.9509 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.5382, allocations: 87.94 kB / 0.951 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5382, allocations: 0 / 0.951 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5382, allocations: 1.281 kB / 0.951 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5382, allocations: 0 / 0.951 GB, free: 8.258 MB / 0.7169 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.0002393/0.5385, allocations: 344.9 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5385, allocations: 8.531 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.5385, allocations: 32.31 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.5386, allocations: 2.25 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.364e-05/0.5386, allocations: 164.3 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.5386, allocations: 5.656 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5387, allocations: 1.969 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.5387, allocations: 38.09 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5388, allocations: 3.938 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.5388, allocations: 1.406 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5388, allocations: 0 / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.5388, allocations: 2.438 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.5389, allocations: 154 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.08e-05/0.539, allocations: 27.2 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.539, allocations: 15.92 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.5394, allocations: 0.5749 MB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.5395, allocations: 40.02 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5395, allocations: 0 / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003896/0.5399, allocations: 261 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.5399, allocations: 51.41 kB / 0.9526 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.418e-05/0.5399, allocations: 93.17 kB / 0.9527 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.5399, allocations: 31.3 kB / 0.9527 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/0.54, allocations: 84.14 kB / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.54, allocations: 14.08 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.54, allocations: 17.16 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.725e-05/0.5401, allocations: 312.2 kB / 0.9531 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.5401, allocations: 8.125 kB / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.5401, allocations: 25.95 kB / 0.9532 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.5401, allocations: 31.47 kB / 0.9532 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5402, allocations: 0 / 0.9532 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.83e-05/0.5402, allocations: 53.91 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5402, allocations: 9.031 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5402, allocations: 1.25 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5403, allocations: 1.375 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.452e-05/0.5403, allocations: 5.562 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5403, allocations: 1.062 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.5403, allocations: 4.062 kB / 0.9533 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.5404, allocations: 6.406 kB / 0.9533 GB, free: 5.617 MB / 0.7169 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 4.057e-05/0.5404, allocations: 111.1 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.5404, allocations: 9.297 kB / 0.9534 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.5405, allocations: 54.94 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5405, allocations: 0 / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5405, allocations: 1.344 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5405, allocations: 0 / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.5406, allocations: 153.7 kB / 0.9536 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5406, allocations: 4 kB / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.5406, allocations: 4.75 kB / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5407, allocations: 5.219 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.5407, allocations: 1.031 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5407, allocations: 3.984 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5407, allocations: 1.719 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.494e-05/0.5408, allocations: 81.81 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.5408, allocations: 81.05 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.5408, allocations: 5.312 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.276e-05/0.5408, allocations: 5.312 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.5409, allocations: 5.781 kB / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.5409, allocations: 1.344 kB / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.704e-05/0.5409, allocations: 81.86 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5409, allocations: 0 / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002065/0.5411, allocations: 27.16 kB / 0.9539 GB, free: 4.961 MB / 0.7169 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.0002863/0.5414, allocations: 0.6403 MB / 0.9545 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.291e-05/0.5415, allocations: 19.73 kB / 0.9545 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5415, allocations: 3.938 kB / 0.9545 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.509e-05/0.5415, allocations: 9.969 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.5416, allocations: 6.672 kB / 0.9546 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.5422, allocations: 1.14 MB / 0.9557 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.5423, allocations: 0.6814 MB / 0.9563 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.5423, allocations: 6.875 kB / 0.9563 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.5423, allocations: 18.03 kB / 0.9564 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5424, allocations: 0 / 0.9564 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8177/1.36, allocations: 2.072 MB / 0.9584 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.784/11.14, allocations: 13.19 kB / 0.9584 GB, free: 1.363 MB / 0.7169 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