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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001904/0.001904, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5508, allocations: 140.4 MB / 0.949 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001652/0.5525, allocations: 0.6068 MB / 0.9496 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000558/0.5531, allocations: 337.7 kB / 0.95 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.5531, allocations: 0 / 0.95 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.5531, allocations: 4 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.316e-05/0.5532, allocations: 9.25 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.5535, allocations: 61.72 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.903e-05/0.5535, allocations: 12.05 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.5536, allocations: 1.375 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.722e-05/0.5536, allocations: 6.75 kB / 0.9501 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.5536, allocations: 10.69 kB / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.5537, allocations: 0 / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.5539, allocations: 190 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.5539, allocations: 5.016 kB / 0.9502 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.5539, allocations: 6.75 kB / 0.9503 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.5541, allocations: 79.08 kB / 0.9503 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5541, allocations: 0 / 0.9503 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5541, allocations: 1.469 kB / 0.9503 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.5541, allocations: 0 / 0.9503 GB, free: 8.246 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.0002642/0.5544, allocations: 347.3 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5544, allocations: 10.53 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.199e-05/0.5545, allocations: 30.75 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.5545, allocations: 2.25 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.193e-05/0.5546, allocations: 161.8 kB / 0.9509 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.5546, allocations: 5.781 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.5546, allocations: 1.844 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.353e-05/0.5547, allocations: 37.95 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5547, allocations: 7.875 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.5547, allocations: 1.219 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5547, allocations: 4 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.5547, allocations: 2.25 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.5548, allocations: 154.1 kB / 0.9511 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.5549, allocations: 22.77 kB / 0.9511 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.5549, allocations: 7.578 kB / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.5554, allocations: 0.58 MB / 0.9517 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.5554, allocations: 39.88 kB / 0.9517 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.5554, allocations: 0 / 0.9517 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004074/0.5558, allocations: 260 kB / 0.9519 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.5558, allocations: 52.62 kB / 0.952 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.5559, allocations: 101.6 kB / 0.9521 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.5559, allocations: 25.7 kB / 0.9521 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.564e-05/0.5559, allocations: 81.42 kB / 0.9522 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.5559, allocations: 17.22 kB / 0.9522 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.556, allocations: 17.36 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.556, allocations: 316 kB / 0.9525 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.556, allocations: 8.25 kB / 0.9525 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.5561, allocations: 18.72 kB / 0.9526 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.5561, allocations: 30.48 kB / 0.9526 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5561, allocations: 1.344 kB / 0.9526 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.494e-05/0.5562, allocations: 52.89 kB / 0.9526 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5562, allocations: 10.03 kB / 0.9526 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5562, allocations: 4.062 kB / 0.9526 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5562, allocations: 5.547 kB / 0.9527 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.5563, allocations: 5.062 kB / 0.9527 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5563, allocations: 1.406 kB / 0.9527 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.5563, allocations: 3.938 kB / 0.9527 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.5563, allocations: 2.938 kB / 0.9527 GB, free: 5.602 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.234e-05/0.5564, allocations: 107.2 kB / 0.9528 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.5564, allocations: 5.344 kB / 0.9528 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.926e-05/0.5565, allocations: 62.27 kB / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5565, allocations: 0.9688 kB / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5565, allocations: 0 / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5565, allocations: 0 / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.541e-05/0.5566, allocations: 158.9 kB / 0.953 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5566, allocations: 0 / 0.953 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.5566, allocations: 4.344 kB / 0.953 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5567, allocations: 4.844 kB / 0.953 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5567, allocations: 0.9062 kB / 0.953 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5567, allocations: 9.031 kB / 0.953 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5567, allocations: 384 / 0.953 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.5568, allocations: 90.56 kB / 0.9531 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.5568, allocations: 82.86 kB / 0.9532 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.5568, allocations: 0 / 0.9532 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.5569, allocations: 1.688 kB / 0.9532 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.5569, allocations: 1.312 kB / 0.9532 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.5569, allocations: 1.656 kB / 0.9532 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.823e-05/0.5569, allocations: 81.11 kB / 0.9533 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5569, allocations: 4.062 kB / 0.9533 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002155/0.5571, allocations: 26.81 kB / 0.9533 GB, free: 4.941 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.0003157/0.5574, allocations: 0.6367 MB / 0.9539 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.5575, allocations: 19.27 kB / 0.9539 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5575, allocations: 192 / 0.9539 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.699e-05/0.5576, allocations: 14.03 kB / 0.9539 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.5577, allocations: 1.812 kB / 0.9539 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006322/0.5583, allocations: 1.152 MB / 0.9551 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.002e-05/0.5584, allocations: 0.6739 MB / 0.9557 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.5585, allocations: 3.125 kB / 0.9557 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.5585, allocations: 17.58 kB / 0.9557 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5585, allocations: 4 kB / 0.9557 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4517/1.01, allocations: 1.958 MB / 0.9577 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/1.01, allocations: 231.3 kB / 0.9579 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/3.271, allocations: 1.125 kB / 0.9579 GB, free: 1.227 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