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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 67.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002518/1.022, allocations: 1.537 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001223/1.023, allocations: 0.7594 MB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/1.023, allocations: 4.781 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/1.023, allocations: 5.062 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/1.023, allocations: 20.22 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/1.023, allocations: 132.9 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/1.024, allocations: 90.61 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.717e-05/1.024, allocations: 6.047 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/1.024, allocations: 46.73 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/1.024, allocations: 47.8 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/1.024, allocations: 7.656 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/1.024, allocations: 107.3 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/1.024, allocations: 19.41 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/1.024, allocations: 40.05 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/1.024, allocations: 152.2 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.024, allocations: 4.938 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.024, allocations: 0 / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.441e-06/1.024, allocations: 0 / 1.274 GB, free: 5.855 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005097/1.025, allocations: 469 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/1.025, allocations: 9.156 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/1.025, allocations: 33.97 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/1.025, allocations: 9.859 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/1.025, allocations: 177.8 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/1.025, allocations: 5.641 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/1.025, allocations: 4.469 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/1.025, allocations: 94.33 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/1.025, allocations: 0 / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.025, allocations: 5.125 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.025, allocations: 0.9688 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/1.025, allocations: 45.55 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/1.026, allocations: 324.4 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/1.026, allocations: 60.25 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/1.026, allocations: 39.11 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/1.026, allocations: 3.047 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/1.026, allocations: 91.89 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/1.026, allocations: 3.938 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0004978/1.027, allocations: 192.9 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/1.027, allocations: 53.69 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/1.027, allocations: 134.1 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.027, allocations: 29.34 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/1.027, allocations: 91.41 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/1.027, allocations: 29.11 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/1.027, allocations: 33.02 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/1.027, allocations: 322.6 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/1.027, allocations: 37.25 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/1.027, allocations: 70.64 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/1.028, allocations: 110.5 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.028, allocations: 0.875 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002436/1.028, allocations: 136.6 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.028, allocations: 9.344 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.028, allocations: 1.938 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.028, allocations: 2.062 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/1.028, allocations: 20.23 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.028, allocations: 4.156 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/1.028, allocations: 9.359 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/1.028, allocations: 5.75 kB / 1.277 GB, free: 3.645 MB / 0.9981 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 8.487e-05/1.028, allocations: 136.6 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/1.028, allocations: 6.797 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/1.028, allocations: 14.06 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.028, allocations: 1.188 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.028, allocations: 4.75 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.028, allocations: 1.219 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/1.029, allocations: 426.4 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.029, allocations: 0 / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/1.029, allocations: 5.844 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.029, allocations: 4.656 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.029, allocations: 8.766 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.029, allocations: 4.719 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.029, allocations: 4.5 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/1.029, allocations: 243.4 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/1.029, allocations: 86.22 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/1.029, allocations: 1.688 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/1.029, allocations: 12.67 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/1.029, allocations: 9.656 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/1.029, allocations: 3.734 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.012e-05/1.029, allocations: 94.81 kB / 1.278 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.029, allocations: 0 / 1.278 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003263/1.03, allocations: 46.59 kB / 1.278 GB, free: 2.754 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: 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.0007181/1.03, allocations: 0.8557 MB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002717/1.031, allocations: 92.05 kB / 1.279 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.031, allocations: 4 kB / 1.279 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/1.031, allocations: 41.38 kB / 1.279 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/1.031, allocations: 20.58 kB / 1.279 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/1.032, allocations: 1.605 MB / 1.281 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/1.033, allocations: 0.69 MB / 1.281 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.122e-05/1.033, allocations: 5.25 kB / 1.281 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/1.033, allocations: 20.94 kB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.033, allocations: 0.875 kB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/1.059, allocations: 2.996 MB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/9.071, allocations: 3.938 kB / 1.284 GB, free: 15.32 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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: 15.078999559016665]