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.0009579/0.0009579, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.001051/0.001051, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8988/0.8988, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.9 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9809 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.438e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001205/0.00122, allocations: 0.7 MB / 0.9816 GB, free: 1.961 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.001985, allocations: 0.8782 MB / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.002026, allocations: 0 / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.002052, allocations: 3.938 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/0.002129, allocations: 7.875 kB / 0.9825 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.002317, allocations: 35.78 kB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.002398, allocations: 63.84 kB / 0.9826 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.002503, allocations: 15.94 kB / 0.9826 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.002644, allocations: 39.91 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.002706, allocations: 23.91 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.002723, allocations: 4 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.002759, allocations: 8 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.002773, allocations: 15.92 kB / 0.9827 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.002795, allocations: 12 kB / 0.9827 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.00291, allocations: 75.75 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002912, allocations: 3.938 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002913, allocations: 4 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002916, allocations: 0 / 0.9827 GB, free: 0.7617 MB / 0.9323 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.0003409/0.003257, allocations: 294.1 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.003291, allocations: 8.031 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.003321, allocations: 38.75 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.594e-05/0.003417, allocations: 16.88 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.003586, allocations: 137.7 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.003596, allocations: 384 / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-06/0.003606, allocations: 4.375 kB / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.003706, allocations: 62.23 kB / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.003713, allocations: 192 / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.003721, allocations: 4.375 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.003727, allocations: 4.125 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.003794, allocations: 39.84 kB / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.004105, allocations: 244 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.004283, allocations: 78.41 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.004316, allocations: 21 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.00433, allocations: 0 / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.004347, allocations: 34.56 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004348, allocations: 0 / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001728/0.004521, allocations: 73.62 kB / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.004546, allocations: 51.41 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.004613, allocations: 121.8 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.004625, allocations: 29.69 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.004667, allocations: 100.1 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.00468, allocations: 7.891 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.00471, allocations: 21.7 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.004789, allocations: 322.7 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.00482, allocations: 15.98 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.00487, allocations: 55.41 kB / 0.9845 GB, free: 14.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.916e-05/0.00492, allocations: 28.84 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004921, allocations: 0 / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.952e-05/0.005001, allocations: 69.94 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.005014, allocations: 8 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.005017, allocations: 0 / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005029, allocations: 3.984 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.842e-05/0.005057, allocations: 7.938 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.005063, allocations: 0 / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.005091, allocations: 7.984 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.005098, allocations: 11.98 kB / 0.9846 GB, free: 14.67 MB / 0.948 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 5.692e-05/0.005155, allocations: 109.8 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.005168, allocations: 7.938 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.005186, allocations: 12 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005188, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.005192, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.005194, allocations: 3.938 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.005309, allocations: 152.7 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.00531, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.005326, allocations: 7.984 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.005327, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.005334, allocations: 4 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005335, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.005336, allocations: 8 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.005446, allocations: 159.4 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.005455, allocations: 3.953 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.005468, allocations: 4 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/0.005505, allocations: 7.984 kB / 0.985 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.005541, allocations: 7.984 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.005543, allocations: 0 / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.005581, allocations: 95.27 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005581, allocations: 0 / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001455/0.005726, allocations: 12 kB / 0.9852 GB, free: 14.02 MB / 0.948 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.0002626/0.005989, allocations: 0.689 MB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.006089, allocations: 39.91 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.00609, allocations: 0 / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.00612, allocations: 12 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.006318, allocations: 10.8 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.007217, allocations: 1.341 MB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.388e-05/0.007261, allocations: 67.58 kB / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.007291, allocations: 4.422 kB / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.007331, allocations: 20.48 kB / 0.9873 GB, free: 11.71 MB / 0.948 GB Notification: Performance of SimCode: time 4.8e-07/0.007332, allocations: 0 / 0.9873 GB, free: 11.71 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.02208, allocations: 2.455 MB / 0.9897 GB, free: 9.398 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.767, allocations: 0 / 0.9897 GB, free: 9.398 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.865070272237062]