Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.004806/0.004806, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001427/0.001427, allocations: 199.6 kB / 16.68 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.71/2.71, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 67.88 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2657, allocations: 162.3 MB / 1.242 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001661/0.2674, allocations: 0.7086 MB / 1.243 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.2683, allocations: 0.839 MB / 1.243 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.2684, allocations: 0 / 1.243 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.2684, allocations: 3.938 kB / 1.243 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.2685, allocations: 19.86 kB / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.2686, allocations: 15.98 kB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.2687, allocations: 63.77 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.2688, allocations: 16 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.2689, allocations: 31.86 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.269, allocations: 39.77 kB / 1.244 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.269, allocations: 4 kB / 1.244 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.2691, allocations: 4 kB / 1.244 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.2691, allocations: 8 kB / 1.244 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.2691, allocations: 23.86 kB / 1.244 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2692, allocations: 71.7 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2693, allocations: 0 / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2693, allocations: 0 / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2693, allocations: 0 / 1.244 GB, free: 8.047 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004528/0.2697, allocations: 375.2 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2698, allocations: 8.031 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.2698, allocations: 38.69 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.2698, allocations: 4.938 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.2701, allocations: 200.1 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2701, allocations: 384 / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2701, allocations: 4.375 kB / 1.244 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.2703, allocations: 62.22 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2703, allocations: 3.938 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2703, allocations: 8 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2703, allocations: 0 / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.2704, allocations: 31.92 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.2708, allocations: 288.8 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.2711, allocations: 70.53 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.2711, allocations: 21 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.2712, allocations: 3.938 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2712, allocations: 30.56 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 2.765e-06/0.2712, allocations: 3.984 kB / 1.245 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000238/0.2714, allocations: 77.62 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.2715, allocations: 59.39 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.2716, allocations: 117.8 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2716, allocations: 25.7 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.2717, allocations: 100.1 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.2717, allocations: 11.91 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.2717, allocations: 13.72 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2719, allocations: 326.8 kB / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.2719, allocations: 12 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.272, allocations: 37.64 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.2721, allocations: 24.84 kB / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2721, allocations: 0 / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.2722, allocations: 65.67 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2722, allocations: 4 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2723, allocations: 4.031 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2723, allocations: 3.938 kB / 1.246 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.2723, allocations: 7.938 kB / 1.246 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2723, allocations: 7.984 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.2724, allocations: 11.89 kB / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2724, allocations: 0 / 1.246 GB, free: 5.781 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: 2 (shaT.hys.y,$PRE.shaT.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 8.077e-05/0.2725, allocations: 117.8 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.2725, allocations: 7.984 kB / 1.246 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.2726, allocations: 11.91 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2726, allocations: 0 / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2726, allocations: 4 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2726, allocations: 4 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2728, allocations: 177.6 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2728, allocations: 0 / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.2728, allocations: 4 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2728, allocations: 0 / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2728, allocations: 4 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2728, allocations: 0 / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2728, allocations: 4 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.273, allocations: 163.4 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.2731, allocations: 85.05 kB / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2731, allocations: 0 / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.2732, allocations: 4 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.2732, allocations: 8.359 kB / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2732, allocations: 4 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.981e-05/0.2733, allocations: 99.27 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2733, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000213/0.2735, allocations: 8 kB / 1.246 GB, free: 4.992 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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0004566/0.274, allocations: 0.6969 MB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.2741, allocations: 43.91 kB / 1.247 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2742, allocations: 0 / 1.247 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.2742, allocations: 15.98 kB / 1.247 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2745, allocations: 5.094 kB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2757, allocations: 1.349 MB / 1.248 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.276, allocations: 0.6924 MB / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.2761, allocations: 4 kB / 1.249 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.2761, allocations: 19.42 kB / 1.249 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2761, allocations: 3.938 kB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.3053, allocations: 1.745 MB / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.349/9.655, allocations: 12.95 kB / 1.251 GB, free: 380 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches