Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.001807/0.001807, allocations: 107.8 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.00188/0.00188, allocations: 187.7 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.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.614/2.614, allocations: 443.5 MB / 0.7287 GB, free: 14.51 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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.056 GB, free: 2.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3511, allocations: 160.7 MB / 1.213 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002876/0.3539, allocations: 1.497 MB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3553, allocations: 0.7603 MB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.3554, allocations: 0 / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.3554, allocations: 3.938 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.3555, allocations: 19.84 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.356, allocations: 119.6 kB / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3562, allocations: 75.77 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.3563, allocations: 8.188 kB / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.236e-05/0.3564, allocations: 43.84 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.3564, allocations: 35.83 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3564, allocations: 8 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.3567, allocations: 99.89 kB / 1.215 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.3567, allocations: 15.92 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.3567, allocations: 39.78 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.357, allocations: 143.7 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.357, allocations: 0 / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.357, allocations: 0 / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.357, allocations: 0 / 1.216 GB, free: 14.56 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007112/0.3577, allocations: 460.6 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3577, allocations: 8.031 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.3578, allocations: 34.75 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.3578, allocations: 8.891 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.3581, allocations: 180.3 kB / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3581, allocations: 384 / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3581, allocations: 4.375 kB / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3583, allocations: 81.52 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3583, allocations: 4 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3583, allocations: 0 / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3583, allocations: 4 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.3585, allocations: 35.97 kB / 1.216 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.359, allocations: 308.7 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3592, allocations: 50.5 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.3593, allocations: 32.97 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3593, allocations: 3.984 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.3595, allocations: 79.36 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3595, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004154/0.3599, allocations: 145.8 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.36, allocations: 55.34 kB / 1.217 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3601, allocations: 129.8 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3601, allocations: 25.7 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.3602, allocations: 96.2 kB / 1.217 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3602, allocations: 15.84 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.3603, allocations: 25.72 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3604, allocations: 326.8 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.3605, allocations: 23.98 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3606, allocations: 61.08 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3607, allocations: 97.06 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3607, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002388/0.361, allocations: 113.5 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.361, allocations: 8 kB / 1.218 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.361, allocations: 4.156 kB / 1.218 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.361, allocations: 0 / 1.218 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.3611, allocations: 23.92 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3611, allocations: 4.062 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.3612, allocations: 15.88 kB / 1.218 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3612, allocations: 11.92 kB / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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.0001542/0.3614, allocations: 121.8 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3614, allocations: 7.953 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.3614, allocations: 12.38 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3614, allocations: 0 / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3614, allocations: 0 / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3614, allocations: 4 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.362, allocations: 382.5 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.362, allocations: 3.984 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.362, allocations: 4 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.362, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.362, allocations: 8 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.362, allocations: 7.875 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.362, allocations: 3.984 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.3623, allocations: 211.5 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.3624, allocations: 81.06 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3624, allocations: 0 / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.3625, allocations: 7.938 kB / 1.219 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3625, allocations: 11.98 kB / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3625, allocations: 4 kB / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000139/0.3627, allocations: 102.1 kB / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3627, allocations: 0 / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000301/0.363, allocations: 43.86 kB / 1.219 GB, free: 10.76 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009326/0.3639, allocations: 0.8109 MB / 1.22 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3642, allocations: 75.88 kB / 1.22 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3642, allocations: 0 / 1.22 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3643, allocations: 36.23 kB / 1.22 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3645, allocations: 15.92 kB / 1.22 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3663, allocations: 1.521 MB / 1.221 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.3669, allocations: 0.6923 MB / 1.222 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.3669, allocations: 8 kB / 1.222 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.3669, allocations: 23.42 kB / 1.222 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.3669, allocations: 0 / 1.222 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.3936, allocations: 2.76 MB / 1.225 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.531, allocations: 9.906 kB / 1.225 GB, free: 4.82 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 14.468307608738542]