Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.0082/0.0082, allocations: 102.8 kB / 15.74 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.002009/0.002009, allocations: 202.6 kB / 16.68 MB, free: 5.965 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.272, allocations: 162.3 MB / 1.242 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001616/0.2736, allocations: 0.7074 MB / 1.243 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.2745, allocations: 0.8429 MB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.2746, allocations: 0 / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.2746, allocations: 3.938 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.417e-05/0.2747, allocations: 15.86 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.2748, allocations: 15.97 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.101e-05/0.2749, allocations: 59.8 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.275, allocations: 23.98 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.2751, allocations: 27.84 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.2752, allocations: 27.86 kB / 1.243 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.2752, allocations: 4 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.2752, allocations: 8 kB / 1.244 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2752, allocations: 11.98 kB / 1.244 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.2753, allocations: 27.81 kB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2754, allocations: 67.69 kB / 1.244 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2754, allocations: 0 / 1.244 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2754, allocations: 0 / 1.244 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2754, allocations: 4 kB / 1.244 GB, free: 7.992 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.0004425/0.2759, allocations: 371.2 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2759, allocations: 8.031 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.2759, allocations: 38.73 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.276, allocations: 0.9375 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.2762, allocations: 204.1 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2762, allocations: 4.375 kB / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.2763, allocations: 4.375 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.2764, allocations: 66.22 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2764, allocations: 3.938 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2764, allocations: 0 / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2764, allocations: 0 / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.767e-05/0.2765, allocations: 27.98 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.2769, allocations: 296.8 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.2772, allocations: 70.53 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.2772, allocations: 17 kB / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2773, allocations: 0 / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2773, allocations: 42.5 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2773, allocations: 4 kB / 1.245 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002261/0.2775, allocations: 69.62 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.2776, allocations: 51.41 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.2777, allocations: 121.8 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.2777, allocations: 25.7 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.2778, allocations: 96.08 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.2778, allocations: 7.906 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2778, allocations: 21.7 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.278, allocations: 322.8 kB / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.278, allocations: 15.98 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.2781, allocations: 29.7 kB / 1.245 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.2782, allocations: 32.78 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2782, allocations: 0 / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001295/0.2783, allocations: 61.69 kB / 1.246 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2783, allocations: 16.02 kB / 1.246 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2783, allocations: 0 / 1.246 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2784, allocations: 336 / 1.246 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.347e-05/0.2784, allocations: 7.938 kB / 1.246 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2784, allocations: 0 / 1.246 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.2785, allocations: 15.94 kB / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2785, allocations: 7.938 kB / 1.246 GB, free: 5.73 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 (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 9.36e-05/0.2786, allocations: 125.7 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.2786, allocations: 4 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.2786, allocations: 7.906 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2787, allocations: 3.984 kB / 1.246 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2787, allocations: 0 / 1.246 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2787, allocations: 0 / 1.246 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.2788, allocations: 173.6 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2789, allocations: 4 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.2789, allocations: 7.984 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2789, allocations: 0 / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2789, allocations: 0 / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2789, allocations: 0 / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2789, allocations: 4 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.2791, allocations: 159.4 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.2792, allocations: 81.06 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2792, allocations: 4 kB / 1.246 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.2793, allocations: 7.984 kB / 1.246 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2793, allocations: 15.92 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2793, allocations: 4 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.2794, allocations: 91.7 kB / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2794, allocations: 0 / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002079/0.2796, allocations: 8 kB / 1.246 GB, free: 4.945 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 (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.0004414/0.28, allocations: 0.6934 MB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.2802, allocations: 39.91 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2802, allocations: 0 / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.2803, allocations: 16 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.2805, allocations: 5.391 kB / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2818, allocations: 1.349 MB / 1.248 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.2821, allocations: 0.6884 MB / 1.249 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.2821, allocations: 8.406 kB / 1.249 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.2822, allocations: 19.44 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.2822, allocations: 0 / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.168/1.451, allocations: 1.761 MB / 1.251 GB, free: 332 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.73, allocations: 3.219 kB / 1.251 GB, free: 332 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches