Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.001407/0.001407, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001785/0.001785, allocations: 186.6 kB / 22.22 MB, free: 5.105 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.51/1.51, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 443.5 MB / 0.7322 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 67.89 kB / 1.061 GB, free: 3 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.8527, allocations: 160.8 MB / 1.218 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003985/0.8567, allocations: 1.521 MB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.8584, allocations: 0.7666 MB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.8584, allocations: 1.312 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.8585, allocations: 3.938 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.8585, allocations: 17.95 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.8592, allocations: 139.9 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.8594, allocations: 94.25 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.8595, allocations: 7.281 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.8596, allocations: 40.88 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.8597, allocations: 41.2 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.8597, allocations: 7.906 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.8601, allocations: 142.4 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.8601, allocations: 19.72 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.8602, allocations: 41.47 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.8606, allocations: 151.5 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8606, allocations: 5.031 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8606, allocations: 0 / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.8606, allocations: 0 / 1.221 GB, free: 1.48 MB / 0.92 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.000888/0.8615, allocations: 462.5 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8615, allocations: 9.594 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.8616, allocations: 14.11 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.8617, allocations: 191.7 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.8618, allocations: 4 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.8618, allocations: 5.938 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.8621, allocations: 101.6 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.8621, allocations: 5.219 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.8621, allocations: 0 / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8621, allocations: 1.188 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.8623, allocations: 48.88 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.8629, allocations: 318.9 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.8631, allocations: 66.33 kB / 1.223 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.8632, allocations: 37.75 kB / 1.223 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.8632, allocations: 0.875 kB / 1.223 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.8635, allocations: 96.06 kB / 1.223 GB, free: 180 kB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.8635, allocations: 4 kB / 1.223 GB, free: 176 kB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005183/0.864, allocations: 180.7 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.8641, allocations: 58.11 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.8642, allocations: 132.7 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.8643, allocations: 30.89 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.8643, allocations: 91.95 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.8644, allocations: 23.2 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.8644, allocations: 35.42 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.8646, allocations: 325.2 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.8647, allocations: 28.23 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.8648, allocations: 80.11 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.865, allocations: 107.8 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8651, allocations: 1.062 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003101/0.8654, allocations: 139.6 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8654, allocations: 6.094 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8654, allocations: 2.062 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.8654, allocations: 6.203 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.8655, allocations: 19.03 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8655, allocations: 2.438 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.8656, allocations: 9.734 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.8656, allocations: 12.66 kB / 1.224 GB, free: 15.09 MB / 0.9356 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.0001204/0.8657, allocations: 125 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.8658, allocations: 7.266 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.8658, allocations: 13.48 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.8658, allocations: 2.219 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8658, allocations: 0 / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8658, allocations: 96 / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.8665, allocations: 445.2 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.8665, allocations: 1.094 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.8665, allocations: 3.312 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8665, allocations: 1.125 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.8665, allocations: 5.109 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8665, allocations: 4.938 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8665, allocations: 3.938 kB / 1.224 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.867, allocations: 248.8 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.8671, allocations: 84.44 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.8671, allocations: 4.938 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.8673, allocations: 10.92 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.8673, allocations: 7.094 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.8673, allocations: 10.33 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.636e-05/0.8674, allocations: 95.52 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8674, allocations: 0 / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003953/0.8678, allocations: 40.28 kB / 1.225 GB, free: 14.13 MB / 0.9356 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.0005009/0.8683, allocations: 174.9 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003654/0.8687, allocations: 86.2 kB / 1.225 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8687, allocations: 5.375 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.8689, allocations: 43.42 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.8692, allocations: 17.48 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.8698, allocations: 213.1 kB / 1.225 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.8702, allocations: 0.6906 MB / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.8702, allocations: 11.05 kB / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.8703, allocations: 11.5 kB / 1.226 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.8703, allocations: 1.188 kB / 1.226 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of Templates: time 0.005322/0.8756, allocations: 1.75 MB / 1.228 GB, free: 12.14 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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: 8.981645151041448]