Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001297/0.001297, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001259/0.001259, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.535/1.535, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 443.5 MB / 0.7287 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.89 kB / 1.056 GB, free: 2.543 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3592, allocations: 160.7 MB / 1.213 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003159/0.3624, allocations: 1.517 MB / 1.214 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3638, allocations: 0.7524 MB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3639, allocations: 0 / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.3639, allocations: 11.88 kB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.364, allocations: 15.86 kB / 1.215 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.3646, allocations: 127.6 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.3647, allocations: 95.7 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.3648, allocations: 12.28 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.3649, allocations: 39.89 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.365, allocations: 47.83 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.365, allocations: 8 kB / 1.215 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.3652, allocations: 111.8 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.3653, allocations: 19.92 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.3653, allocations: 39.8 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.3656, allocations: 155.5 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3656, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3656, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3656, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 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.0006963/0.3663, allocations: 470.2 kB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3664, allocations: 12.03 kB / 1.216 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.3664, allocations: 38.75 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3665, allocations: 8.891 kB / 1.216 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3666, allocations: 180.2 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.3666, allocations: 8.375 kB / 1.216 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3666, allocations: 8.312 kB / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3669, allocations: 89.69 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3669, allocations: 4 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3669, allocations: 4 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3669, allocations: 8 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3671, allocations: 43.97 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.3677, allocations: 308.8 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3679, allocations: 70.56 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.368, allocations: 40.84 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.368, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.3683, allocations: 95.34 kB / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3683, allocations: 0 / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004943/0.3688, allocations: 185.5 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.3688, allocations: 55.41 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3689, allocations: 137.4 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.369, allocations: 33.64 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.369, allocations: 88.75 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3691, allocations: 27.78 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.3691, allocations: 29.72 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3693, allocations: 326.8 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.3694, allocations: 27.92 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3695, allocations: 80.09 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3697, allocations: 117.9 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3697, allocations: 0 / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002678/0.37, allocations: 133.4 kB / 1.218 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.37, allocations: 8 kB / 1.218 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.37, allocations: 160 / 1.218 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.37, allocations: 8 kB / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.3701, allocations: 15.98 kB / 1.218 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3701, allocations: 3.938 kB / 1.218 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.3702, allocations: 15.94 kB / 1.218 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3702, allocations: 4 kB / 1.218 GB, free: 11.63 MB / 0.9669 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.0001136/0.3703, allocations: 123.4 kB / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.3704, allocations: 11.94 kB / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.3704, allocations: 12.38 kB / 1.218 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3704, allocations: 0 / 1.218 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3704, allocations: 3.938 kB / 1.218 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3704, allocations: 0 / 1.218 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.371, allocations: 438.5 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.371, allocations: 0 / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.3711, allocations: 11.92 kB / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3711, allocations: 0 / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3711, allocations: 4 kB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3711, allocations: 4 kB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3711, allocations: 3.938 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.3715, allocations: 243.4 kB / 1.219 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.3715, allocations: 93 kB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3715, allocations: 3.984 kB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3716, allocations: 8.188 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3717, allocations: 15.92 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3717, allocations: 11.94 kB / 1.219 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.566e-05/0.3718, allocations: 91.27 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3718, allocations: 4 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000338/0.3721, allocations: 39.92 kB / 1.219 GB, free: 10.43 MB / 0.9669 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.000997/0.3731, allocations: 0.8371 MB / 1.22 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.3734, allocations: 87.83 kB / 1.22 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3734, allocations: 0 / 1.22 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3735, allocations: 48.33 kB / 1.22 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3738, allocations: 17.98 kB / 1.22 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3758, allocations: 1.607 MB / 1.222 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.3762, allocations: 0.6962 MB / 1.223 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.969e-05/0.3762, allocations: 4 kB / 1.223 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3763, allocations: 23.42 kB / 1.223 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of SimCode: time 5.92e-07/0.3763, allocations: 0 / 1.223 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.4054, allocations: 3.003 MB / 1.226 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.599, allocations: 11.25 kB / 1.226 GB, free: 4.109 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.68608788214624]