Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",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.001597/0.001597, 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.001945/0.001945, allocations: 198.1 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.194/2.194, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5046, allocations: 140.4 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001574/0.5062, allocations: 0.7365 MB / 0.9498 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005813/0.5068, allocations: 0.8377 MB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.5069, allocations: 0 / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.5069, allocations: 3.938 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.507, allocations: 5.375 kB / 0.9506 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.5071, allocations: 6.734 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.279e-05/0.5071, allocations: 20.19 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.5072, allocations: 8.125 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.5072, allocations: 14.67 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.5073, allocations: 14.72 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.5073, allocations: 1.375 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.5073, allocations: 1.375 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.5073, allocations: 5.312 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.5074, allocations: 1.375 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.002e-05/0.5074, allocations: 20.03 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5074, allocations: 0 / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5074, allocations: 5.375 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.5074, allocations: 0 / 0.9507 GB, free: 7.867 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002979/0.5077, allocations: 338.1 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.5078, allocations: 9.625 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.296e-05/0.5078, allocations: 40.11 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.028e-05/0.5078, allocations: 2.312 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.279e-05/0.5079, allocations: 169.6 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.5079, allocations: 384 / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.5079, allocations: 1.75 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5081, allocations: 53.23 kB / 0.9513 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5081, allocations: 5.312 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.5081, allocations: 0 / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5081, allocations: 0 / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.5083, allocations: 39.14 kB / 0.9513 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.5085, allocations: 245.2 kB / 0.9516 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5086, allocations: 42.81 kB / 0.9516 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.5087, allocations: 26.45 kB / 0.9516 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.5087, allocations: 0 / 0.9516 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.5087, allocations: 35.88 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.5087, allocations: 0 / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002941/0.509, allocations: 85.2 kB / 0.9518 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.509, allocations: 55.41 kB / 0.9518 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.5091, allocations: 95.36 kB / 0.9519 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/0.5091, allocations: 25.7 kB / 0.9519 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.5091, allocations: 85.52 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.5091, allocations: 13.2 kB / 0.952 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.5092, allocations: 15.22 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.171e-05/0.5092, allocations: 316.2 kB / 0.9523 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.5093, allocations: 13.61 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.5094, allocations: 17.61 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.5095, allocations: 43.47 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5095, allocations: 3.938 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001617/0.5097, allocations: 68.47 kB / 0.9525 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.5097, allocations: 4.344 kB / 0.9525 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.5097, allocations: 1.156 kB / 0.9525 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.5097, allocations: 0 / 0.9525 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.5098, allocations: 5.938 kB / 0.9525 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5098, allocations: 1.156 kB / 0.9525 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.5099, allocations: 11.83 kB / 0.9525 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.5099, allocations: 0 / 0.9525 GB, free: 6.008 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 3.663e-05/0.5099, allocations: 112.3 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.5099, allocations: 9.594 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.51, allocations: 11.09 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.51, allocations: 1.656 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.51, allocations: 0 / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.51, allocations: 0 / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.54e-05/0.5101, allocations: 161.4 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5101, allocations: 5.219 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.5101, allocations: 14.33 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.5101, allocations: 0 / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.5102, allocations: 0 / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5102, allocations: 1.594 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5102, allocations: 0 / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.5103, allocations: 170.2 kB / 0.953 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.5104, allocations: 82.08 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.5104, allocations: 5.281 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.5105, allocations: 6.766 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.5105, allocations: 1.688 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.5105, allocations: 0.7812 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.823e-05/0.5105, allocations: 86.52 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5105, allocations: 0 / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002042/0.5107, allocations: 3.719 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0003198/0.5111, allocations: 0.7003 MB / 0.9538 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.5112, allocations: 37.16 kB / 0.9539 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5112, allocations: 0 / 0.9539 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.5113, allocations: 18.97 kB / 0.9539 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.5116, allocations: 6.594 kB / 0.9539 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.5119, allocations: 130.6 kB / 0.954 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.199e-05/0.512, allocations: 0.6814 MB / 0.9547 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.512, allocations: 1.25 kB / 0.9547 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.512, allocations: 8.594 kB / 0.9547 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.512, allocations: 3.938 kB / 0.9547 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3555/0.8675, allocations: 1.067 MB / 0.9557 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001186/0.8677, allocations: 204.6 kB / 0.9559 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.358, allocations: 0 / 0.9559 GB, free: 2.914 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches