Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 110 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.306/3.306, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 72.3 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3688, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002241/0.3711, allocations: 0.7115 MB / 1.321 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3725, allocations: 0.8864 MB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.3726, allocations: 4 kB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.3726, allocations: 3.938 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.3728, allocations: 19.84 kB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3731, allocations: 19.92 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3732, allocations: 55.84 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3734, allocations: 23.97 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3735, allocations: 27.92 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.3736, allocations: 27.8 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3737, allocations: 4 kB / 1.323 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.3737, allocations: 16 kB / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.3737, allocations: 15.91 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.3738, allocations: 27.81 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.374, allocations: 71.98 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.374, allocations: 0 / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.754e-06/0.374, allocations: 0 / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.374, allocations: 0 / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005647/0.3745, allocations: 375.2 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3746, allocations: 11.98 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.3746, allocations: 38.75 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.3748, allocations: 12.92 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.3751, allocations: 192.2 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3751, allocations: 4.375 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3751, allocations: 384 / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3752, allocations: 66.17 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3752, allocations: 3.938 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3753, allocations: 0 / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3753, allocations: 4 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3754, allocations: 31.97 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.3758, allocations: 288.8 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3761, allocations: 78.45 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.3762, allocations: 16.92 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.3762, allocations: 0 / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3762, allocations: 30.56 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.3762, allocations: 0 / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002934/0.3765, allocations: 85.64 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3766, allocations: 51.41 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3767, allocations: 125.8 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3767, allocations: 25.7 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.3768, allocations: 96.06 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3768, allocations: 19.91 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.3769, allocations: 13.72 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.377, allocations: 322.8 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.3771, allocations: 15.98 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.3772, allocations: 33.72 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.677e-05/0.3773, allocations: 24.84 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3773, allocations: 0 / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001531/0.3774, allocations: 69.94 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3774, allocations: 4 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3774, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3775, allocations: 3.938 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.3775, allocations: 11.98 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3775, allocations: 4.031 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.3776, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3776, allocations: 7.969 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaH.hys.y,$PRE.shaH.hys.y) * 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 0.0001112/0.3777, allocations: 117.8 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.3777, allocations: 7.953 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.3778, allocations: 7.906 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3778, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3778, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3778, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.378, allocations: 173.6 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.378, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.378, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.378, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.378, allocations: 11.98 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.378, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.378, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.3782, allocations: 163.4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.3783, allocations: 81.06 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3783, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3784, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.3784, allocations: 7.984 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3784, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.183e-05/0.3785, allocations: 103.2 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3785, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002208/0.3787, allocations: 8 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * 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.0004958/0.3792, allocations: 0.6967 MB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.3794, allocations: 27.98 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3794, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.807e-05/0.3794, allocations: 23.92 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3797, allocations: 8 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3813, allocations: 1.333 MB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3816, allocations: 0.6865 MB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.3816, allocations: 8.422 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.3817, allocations: 23.36 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3817, allocations: 0 / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.406, allocations: 1.755 MB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.6, allocations: 6.906 kB / 1.33 GB, free: 9.797 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaH.H in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.H from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HHigh in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HHigh from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HLow in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HLow from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.588550434913486]