Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_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.0009271/0.0009273, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007212/0.007212, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.9 MB / 0.6664 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005372/0.0005372, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.7321, allocations: 142.4 MB / 0.9552 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0006719/0.7328, allocations: 432.1 kB / 0.9556 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007985/0.7336, allocations: 0.8341 MB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.7337, allocations: 1.25 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.7337, allocations: 3.938 kB / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.7338, allocations: 16.98 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.7339, allocations: 15.52 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.734, allocations: 57.5 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.7341, allocations: 16.02 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.7342, allocations: 15.91 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.7343, allocations: 22.62 kB / 0.9565 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.7343, allocations: 10.03 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.7343, allocations: 6.188 kB / 0.9566 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.7343, allocations: 5.016 kB / 0.9566 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.7344, allocations: 51.41 kB / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.7345, allocations: 58.2 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7345, allocations: 5.281 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7345, allocations: 0 / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.7345, allocations: 0 / 0.9567 GB, free: 6.465 MB / 0.7169 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.0003233/0.7348, allocations: 365.7 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.7349, allocations: 9.188 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.7349, allocations: 31.72 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.7349, allocations: 8.438 kB / 0.9571 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.7351, allocations: 194 kB / 0.9573 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.7351, allocations: 2.219 kB / 0.9573 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.7351, allocations: 7.844 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.7353, allocations: 69.09 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.7353, allocations: 3.938 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.7353, allocations: 1.312 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7353, allocations: 1.5 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.7354, allocations: 35.34 kB / 0.9574 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.7357, allocations: 297.2 kB / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.736, allocations: 91.14 kB / 0.9577 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.736, allocations: 18.73 kB / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.7361, allocations: 0 / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.7361, allocations: 32.06 kB / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.7361, allocations: 3.938 kB / 0.9578 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002157/0.7363, allocations: 91.44 kB / 0.9579 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.7363, allocations: 51.41 kB / 0.9579 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.7364, allocations: 118.1 kB / 0.958 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.7364, allocations: 26.61 kB / 0.9581 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.7365, allocations: 99.56 kB / 0.9582 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.7365, allocations: 13.03 kB / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.7365, allocations: 10.78 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.7365, allocations: 328.8 kB / 0.9585 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.7366, allocations: 13.12 kB / 0.9585 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.7367, allocations: 35.08 kB / 0.9585 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.7367, allocations: 30.47 kB / 0.9586 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.7368, allocations: 4.031 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001218/0.7369, allocations: 70.77 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.7369, allocations: 5.094 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.7369, allocations: 0 / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.7369, allocations: 0 / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.737, allocations: 10.3 kB / 0.9587 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.737, allocations: 0 / 0.9587 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.737, allocations: 13.81 kB / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.7371, allocations: 336 / 0.9587 GB, free: 4.484 MB / 0.7169 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.283e-05/0.7371, allocations: 122.3 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.7371, allocations: 9.516 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.7372, allocations: 9.344 kB / 0.9588 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7372, allocations: 1.531 kB / 0.9588 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7372, allocations: 0 / 0.9588 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7372, allocations: 0 / 0.9588 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.7373, allocations: 175.8 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7373, allocations: 5.312 kB / 0.959 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.7374, allocations: 9.125 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7374, allocations: 0 / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.7374, allocations: 5.531 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7374, allocations: 3.938 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7374, allocations: 3.938 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.7375, allocations: 166 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.7376, allocations: 84.44 kB / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.7376, allocations: 0 / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.7377, allocations: 6.375 kB / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.7377, allocations: 7.672 kB / 0.9593 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.7377, allocations: 0 / 0.9593 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.7378, allocations: 102.4 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7378, allocations: 0 / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002137/0.738, allocations: 15.38 kB / 0.9594 GB, free: 3.754 MB / 0.7169 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.0002629/0.7382, allocations: 0.7011 MB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.7384, allocations: 39.33 kB / 0.9601 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7384, allocations: 0 / 0.9601 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.7385, allocations: 18.7 kB / 0.9601 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.7387, allocations: 7.625 kB / 0.9601 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.7396, allocations: 1.364 MB / 0.9614 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.07e-05/0.7397, allocations: 0.6864 MB / 0.9621 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.7398, allocations: 12.36 kB / 0.9621 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.7398, allocations: 22.11 kB / 0.9621 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7398, allocations: 0 / 0.9621 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.7503, allocations: 1.448 MB / 0.9636 GB, free: 340 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.7505, allocations: 193 kB / 0.9637 GB, free: 84 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.387, allocations: 3.625 kB / 0.9637 GB, free: 84 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches