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.001253/0.001253, allocations: 103.7 kB / 16.45 MB, free: 6.508 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.002029/0.002029, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.458/1.458, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.622/2.622, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 67.89 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8169, allocations: 160.7 MB / 1.213 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003377/0.8203, allocations: 1.518 MB / 1.214 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.8219, allocations: 0.7518 MB / 1.215 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.822, allocations: 0 / 1.215 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.277e-05/0.8221, allocations: 11.81 kB / 1.215 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.206e-05/0.8222, allocations: 15.86 kB / 1.215 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.8229, allocations: 131.6 kB / 1.215 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.8231, allocations: 91.7 kB / 1.215 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.8232, allocations: 13.81 kB / 1.215 GB, free: 2.906 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.8234, allocations: 35.91 kB / 1.215 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.8234, allocations: 43.83 kB / 1.215 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.8235, allocations: 11.94 kB / 1.215 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.8238, allocations: 111.8 kB / 1.216 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.8238, allocations: 19.98 kB / 1.216 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.8239, allocations: 35.8 kB / 1.216 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.8243, allocations: 163.5 kB / 1.216 GB, free: 2.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.8243, allocations: 0 / 1.216 GB, free: 2.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8243, allocations: 3.938 kB / 1.216 GB, free: 2.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.8243, allocations: 0 / 1.216 GB, free: 2.488 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.0008427/0.8251, allocations: 472.1 kB / 1.216 GB, free: 1.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.8252, allocations: 8.625 kB / 1.216 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.8252, allocations: 34.75 kB / 1.216 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.8253, allocations: 8.891 kB / 1.216 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.8254, allocations: 176.3 kB / 1.216 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.8255, allocations: 12.38 kB / 1.216 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.8255, allocations: 4.375 kB / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.8257, allocations: 93.69 kB / 1.217 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8258, allocations: 0 / 1.217 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.8258, allocations: 0 / 1.217 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8258, allocations: 4 kB / 1.217 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.8259, allocations: 47.95 kB / 1.217 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.8266, allocations: 324.7 kB / 1.217 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.8267, allocations: 62.58 kB / 1.217 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.8268, allocations: 40.84 kB / 1.217 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.8269, allocations: 0 / 1.217 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.8271, allocations: 99.28 kB / 1.217 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.8272, allocations: 0 / 1.217 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005332/0.8277, allocations: 185.5 kB / 1.217 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.8277, allocations: 55.39 kB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.8279, allocations: 136.7 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.8279, allocations: 25.7 kB / 1.217 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.828, allocations: 96.36 kB / 1.218 GB, free: 428 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.828, allocations: 27.8 kB / 1.218 GB, free: 400 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.8281, allocations: 29.7 kB / 1.218 GB, free: 364 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8282, allocations: 326.8 kB / 1.218 GB, free: 28 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.8283, allocations: 27.98 kB / 1.218 GB, free: 0 / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.8284, allocations: 76.94 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.8286, allocations: 109.9 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.8286, allocations: 4 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002732/0.8289, allocations: 129.5 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8289, allocations: 8 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8289, allocations: 3.938 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.829, allocations: 7.984 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.8291, allocations: 15.94 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.8291, allocations: 0 / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.8292, allocations: 16.14 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.8292, allocations: 8 kB / 1.218 GB, free: 15.58 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.000121/0.8293, allocations: 128 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.8293, allocations: 3.953 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.8294, allocations: 16.36 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8294, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.8294, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8294, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.83, allocations: 446.8 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.83, allocations: 0 / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.83, allocations: 8.094 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.8301, allocations: 3.938 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.8301, allocations: 7.984 kB / 1.219 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8301, allocations: 0 / 1.219 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8301, allocations: 7.922 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.8305, allocations: 247.5 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.8305, allocations: 89.05 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.8306, allocations: 4 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.8307, allocations: 7.984 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.8307, allocations: 7.938 kB / 1.219 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.8307, allocations: 7.984 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.8308, allocations: 95.27 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8308, allocations: 0 / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003814/0.8312, allocations: 47.88 kB / 1.219 GB, free: 14.38 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.001092/0.8323, allocations: 0.8482 MB / 1.22 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.8326, allocations: 87.83 kB / 1.22 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8326, allocations: 0 / 1.22 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.8327, allocations: 43.97 kB / 1.22 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.833, allocations: 15.92 kB / 1.22 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.8351, allocations: 1.601 MB / 1.222 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.8355, allocations: 0.6924 MB / 1.223 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.8355, allocations: 11.98 kB / 1.223 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.8356, allocations: 19.44 kB / 1.223 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.8356, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.8631, allocations: 3.017 MB / 1.226 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/9.166, allocations: 10.14 kB / 1.226 GB, free: 8.047 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.955734032671899]