Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.007513/0.007513, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001564/0.001564, allocations: 193.3 kB / 16.67 MB, free: 5.93 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 482.4 MB / 0.7548 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 72.09 kB / 1.083 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3123, allocations: 162.2 MB / 1.242 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001902/0.3142, allocations: 0.6779 MB / 1.242 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3153, allocations: 0.839 MB / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.3153, allocations: 0 / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.3154, allocations: 0 / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.3155, allocations: 3.938 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.3156, allocations: 11.98 kB / 1.243 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.414e-05/0.3157, allocations: 23.92 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3158, allocations: 8 kB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.3159, allocations: 11.92 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.3159, allocations: 11.98 kB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3159, allocations: 4 kB / 1.243 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.316, allocations: 0 / 1.243 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.316, allocations: 11.94 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.316, allocations: 3.984 kB / 1.243 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.894e-05/0.3161, allocations: 23.84 kB / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3161, allocations: 0 / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3161, allocations: 0 / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3161, allocations: 4 kB / 1.243 GB, free: 8.461 MB / 0.9981 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.0004542/0.3166, allocations: 339.5 kB / 1.243 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3166, allocations: 8.031 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.3167, allocations: 34.75 kB / 1.243 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.3167, allocations: 4.938 kB / 1.243 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3169, allocations: 168.3 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3169, allocations: 384 / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3169, allocations: 4.375 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3171, allocations: 46.23 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3171, allocations: 3.938 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.3171, allocations: 11.94 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3171, allocations: 0 / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.3173, allocations: 39.83 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.3176, allocations: 240.9 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3178, allocations: 46.53 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.3179, allocations: 24.91 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3179, allocations: 3.984 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.3179, allocations: 30.56 kB / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 2.875e-06/0.3179, allocations: 0 / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.3183, allocations: 85.67 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.3183, allocations: 55.41 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.3184, allocations: 97.84 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3184, allocations: 29.7 kB / 1.244 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.3185, allocations: 84.14 kB / 1.244 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.3185, allocations: 3.953 kB / 1.244 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3186, allocations: 13.72 kB / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3187, allocations: 314.8 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.3188, allocations: 20 kB / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.3189, allocations: 15.98 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.319, allocations: 40.77 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.319, allocations: 3.938 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001977/0.3192, allocations: 73.67 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3193, allocations: 4 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3193, allocations: 192 / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.3193, allocations: 4 kB / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.3194, allocations: 7.984 kB / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.3194, allocations: 0 / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.3194, allocations: 11.97 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3194, allocations: 0 / 1.245 GB, free: 6.391 MB / 0.9981 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 7.931e-05/0.3195, allocations: 118.3 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.3196, allocations: 0 / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.3196, allocations: 7.125 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3196, allocations: 0 / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3196, allocations: 4 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3196, allocations: 0 / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3198, allocations: 165.5 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3198, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.3199, allocations: 4 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3199, allocations: 3.938 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3199, allocations: 12 kB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3199, allocations: 0 / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3199, allocations: 3.984 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3202, allocations: 163.4 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.3202, allocations: 85.05 kB / 1.245 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3202, allocations: 0 / 1.245 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.3203, allocations: 8.031 kB / 1.245 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3203, allocations: 3.984 kB / 1.245 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.3204, allocations: 4 kB / 1.245 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.3204, allocations: 79.28 kB / 1.246 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3204, allocations: 0 / 1.246 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002118/0.3206, allocations: 4 kB / 1.246 GB, free: 5.645 MB / 0.9981 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.000609/0.3213, allocations: 0.7007 MB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3215, allocations: 35.95 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3215, allocations: 0 / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.722e-05/0.3216, allocations: 24.02 kB / 1.246 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3219, allocations: 8 kB / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.3223, allocations: 131.1 kB / 1.246 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3226, allocations: 0.6768 MB / 1.247 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.3226, allocations: 0 / 1.247 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.3227, allocations: 7.438 kB / 1.247 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.3227, allocations: 4 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.3454, allocations: 1.264 MB / 1.248 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.064, allocations: 12.34 kB / 1.248 GB, free: 2.773 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches