Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.001365/0.001365, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001458/0.001458, allocations: 220.4 kB / 22.26 MB, free: 5.125 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.889/2.889, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.002078/0.002078, allocations: 66.3 kB / 1.117 GB, free: 39.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003435/0.3568, allocations: 1.549 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3585, allocations: 0.8313 MB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.3586, allocations: 0 / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.3586, allocations: 3.938 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.3587, allocations: 23.8 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.3595, allocations: 151.5 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.3597, allocations: 91.77 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3598, allocations: 31.36 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.36, allocations: 43.92 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3601, allocations: 43.81 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3601, allocations: 8 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.3605, allocations: 147.8 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.3605, allocations: 27.91 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.3606, allocations: 39.78 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.3611, allocations: 159.5 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3611, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3611, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.3611, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008523/0.3619, allocations: 397.2 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.362, allocations: 8.031 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.362, allocations: 38.75 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.3624, allocations: 32.86 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.3627, allocations: 130.4 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.3627, allocations: 8.375 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.3628, allocations: 8.359 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.363, allocations: 89.58 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.363, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.363, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.363, allocations: 4 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3632, allocations: 51.89 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.3638, allocations: 291.8 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.364, allocations: 54.66 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3641, allocations: 48.77 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3641, allocations: 160 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.3644, allocations: 91.34 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3644, allocations: 3.938 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005256/0.3649, allocations: 189.5 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.3649, allocations: 59.41 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3651, allocations: 136.2 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3651, allocations: 25.7 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.3652, allocations: 104.2 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3652, allocations: 19.86 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.3653, allocations: 29.7 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3654, allocations: 326.8 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.3655, allocations: 27.98 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3656, allocations: 77.92 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.3658, allocations: 109.9 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3658, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002754/0.3661, allocations: 133.4 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3661, allocations: 8 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3661, allocations: 4.156 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3661, allocations: 4 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.3662, allocations: 15.98 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3662, allocations: 0 / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.3663, allocations: 19.92 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3663, allocations: 4.094 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001353/0.3665, allocations: 129.7 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.3665, allocations: 3.953 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.3665, allocations: 16.38 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3665, allocations: 0 / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3665, allocations: 3.984 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3665, allocations: 4 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.3671, allocations: 413.7 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3671, allocations: 0 / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.3672, allocations: 4 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.3672, allocations: 4 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3672, allocations: 8.078 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3672, allocations: 11.81 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3672, allocations: 0 / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.3676, allocations: 247.4 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.3676, allocations: 3.953 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3676, allocations: 4 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3677, allocations: 15.86 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3678, allocations: 4 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3678, allocations: 11.98 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.3679, allocations: 95.27 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3679, allocations: 3.938 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003607/0.3682, allocations: 43.92 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001061/0.3693, allocations: 0.8445 MB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.3696, allocations: 91.83 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3696, allocations: 320 / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3697, allocations: 39.98 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.37, allocations: 19.92 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3721, allocations: 1.598 MB / 1.292 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.3725, allocations: 0.7 MB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.887e-05/0.3725, allocations: 4.672 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.3726, allocations: 23.42 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/0.3726, allocations: 7.938 kB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.407, allocations: 3.166 MB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.5, allocations: 6.25 kB / 1.296 GB, free: 14.13 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.392726444173604]