Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.00171/0.00171, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002211/0.002211, allocations: 215 kB / 23.04 MB, free: 5.082 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.876/2.876, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="cs",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.002028/0.002028, allocations: 65.55 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3539, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003167/0.3571, allocations: 1.545 MB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3587, allocations: 0.843 MB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.3588, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.3588, allocations: 7.875 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.653e-05/0.3588, allocations: 7.875 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.3594, allocations: 159.5 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.3596, allocations: 91.7 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.511e-05/0.3597, allocations: 19.45 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.3598, allocations: 51.89 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.3599, allocations: 43.81 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3599, allocations: 8 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.3602, allocations: 143.8 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.3602, allocations: 23.92 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.3603, allocations: 39.78 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.3605, allocations: 159.5 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3605, allocations: 4 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3606, allocations: 7.875 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3606, allocations: 0 / 1.287 GB, free: 8.582 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.0006364/0.3612, allocations: 393.2 kB / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3612, allocations: 8.031 kB / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.3612, allocations: 192 / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.3613, allocations: 38.73 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.3616, allocations: 28.88 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3619, allocations: 142.4 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3619, allocations: 8.375 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3619, allocations: 8.375 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3622, allocations: 89.5 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3622, allocations: 0 / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3622, allocations: 0 / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3622, allocations: 4 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3623, allocations: 47.97 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.3629, allocations: 291.8 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.363, allocations: 62.48 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3631, allocations: 40.84 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3631, allocations: 4 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.3633, allocations: 95.34 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3633, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005058/0.3639, allocations: 181.5 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.3639, allocations: 63.33 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.364, allocations: 133.8 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.364, allocations: 33.7 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.3641, allocations: 92.31 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3641, allocations: 24.03 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.3642, allocations: 33.66 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3643, allocations: 322.8 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.3644, allocations: 27.98 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3645, allocations: 80.38 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3647, allocations: 109.9 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3647, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002721/0.365, allocations: 141.5 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.365, allocations: 4 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.365, allocations: 4 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.365, allocations: 0 / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.3651, allocations: 28.08 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3651, allocations: 4 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.3652, allocations: 7.938 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3652, allocations: 4 kB / 1.29 GB, free: 5.828 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.0001291/0.3654, allocations: 129.3 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3654, allocations: 7.953 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.3654, allocations: 12.73 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3654, allocations: 8 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3654, allocations: 0 / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3654, allocations: 0 / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.366, allocations: 413.2 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.366, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.366, allocations: 4 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.366, allocations: 3.984 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3661, allocations: 4 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3661, allocations: 7.938 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3661, allocations: 4 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.3664, allocations: 243.4 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.3665, allocations: 7.953 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3665, allocations: 8 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3666, allocations: 11.92 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.3666, allocations: 7.984 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3666, allocations: 4 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.732e-05/0.3667, allocations: 99.27 kB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3667, allocations: 0 / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003325/0.367, allocations: 47.86 kB / 1.291 GB, free: 4.75 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.0009733/0.368, allocations: 0.8405 MB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.3683, allocations: 91.97 kB / 1.292 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3683, allocations: 0 / 1.292 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.3684, allocations: 40.3 kB / 1.292 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3687, allocations: 23.95 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.3708, allocations: 1.608 MB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3711, allocations: 0.7 MB / 1.294 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.762e-05/0.3712, allocations: 4.672 kB / 1.294 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.3712, allocations: 23.42 kB / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3712, allocations: 192 / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.3955, allocations: 3.211 MB / 1.297 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 8.938 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.767674733011518] Failed to read output from testmodel.py, exit status != 0: 12.438275085994974 11.882816884 11.519088099 Calling exit ...