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.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.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.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001135/0.001135, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.224/2.224, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5339, allocations: 140.4 MB / 0.9493 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001568/0.5355, allocations: 0.7173 MB / 0.95 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006181/0.5361, allocations: 0.8402 MB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.5362, allocations: 1.281 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.5362, allocations: 7.938 kB / 0.9508 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.5363, allocations: 4 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.5364, allocations: 2.719 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.321e-05/0.5365, allocations: 26.02 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.5365, allocations: 7.125 kB / 0.9508 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.5366, allocations: 7.047 kB / 0.9508 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.5366, allocations: 14.52 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.5366, allocations: 2.469 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.5367, allocations: 1.312 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.5367, allocations: 13.52 kB / 0.9509 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.5367, allocations: 5.469 kB / 0.9509 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.962e-05/0.5368, allocations: 24.09 kB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5368, allocations: 0 / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5368, allocations: 1.344 kB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.5368, allocations: 0 / 0.9509 GB, free: 7.859 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.0003138/0.5371, allocations: 337.9 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.5372, allocations: 10.38 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.226e-05/0.5372, allocations: 38.75 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.912e-05/0.5372, allocations: 6.156 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.048e-05/0.5373, allocations: 173.8 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-06/0.5373, allocations: 2.062 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.5373, allocations: 1.75 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.5375, allocations: 49.27 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5375, allocations: 3.938 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.5375, allocations: 0 / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5375, allocations: 5.422 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.5376, allocations: 33.84 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.5379, allocations: 245.6 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.538, allocations: 42.66 kB / 0.9518 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.5381, allocations: 22.12 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.5381, allocations: 5.25 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.5381, allocations: 31.97 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5381, allocations: 0 / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002958/0.5384, allocations: 84.33 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.5384, allocations: 51.41 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.571e-05/0.5385, allocations: 103.2 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.5385, allocations: 26.98 kB / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.5385, allocations: 84.14 kB / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.5385, allocations: 9.125 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.5386, allocations: 12.28 kB / 0.9522 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.5386, allocations: 323.8 kB / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.5387, allocations: 12.67 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.5387, allocations: 22.2 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.5389, allocations: 39.72 kB / 0.9526 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5389, allocations: 3.938 kB / 0.9526 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001576/0.539, allocations: 63.8 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5391, allocations: 7.906 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.5391, allocations: 4.094 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.5391, allocations: 0 / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.5392, allocations: 9.891 kB / 0.9527 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5392, allocations: 1.594 kB / 0.9527 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.5392, allocations: 6.984 kB / 0.9527 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.5392, allocations: 1.125 kB / 0.9527 GB, free: 5.996 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.766e-05/0.5393, allocations: 115.2 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.5393, allocations: 5.031 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.5393, allocations: 8.25 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.5393, allocations: 0 / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5393, allocations: 4.938 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.5393, allocations: 0 / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.396e-05/0.5394, allocations: 166.2 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5394, allocations: 0 / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.5395, allocations: 10.67 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.5395, allocations: 0 / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.5395, allocations: 1.25 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5395, allocations: 4 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5395, allocations: 0 / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.5397, allocations: 171.6 kB / 0.9532 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.5397, allocations: 77.11 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.5397, allocations: 1.438 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.5398, allocations: 7.203 kB / 0.9532 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.5398, allocations: 1.688 kB / 0.9532 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.5399, allocations: 5.25 kB / 0.9532 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.906e-05/0.5399, allocations: 81.97 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5399, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002011/0.5401, allocations: 3.75 kB / 0.9533 GB, free: 5.305 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.0003239/0.5404, allocations: 0.7033 MB / 0.954 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.5406, allocations: 37.06 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5406, allocations: 1.219 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.5407, allocations: 18.86 kB / 0.9541 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.5409, allocations: 7.844 kB / 0.9541 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.5413, allocations: 142.4 kB / 0.9542 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.5414, allocations: 0.6769 MB / 0.9549 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.5414, allocations: 9.078 kB / 0.9549 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.5414, allocations: 12.53 kB / 0.9549 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5414, allocations: 0 / 0.9549 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9456/1.487, allocations: 1.113 MB / 0.956 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/1.487, allocations: 204 kB / 0.9562 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/3.526, allocations: 0 / 0.9562 GB, free: 2.883 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