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.0008862/0.0008862, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009391/0.0009391, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8911/0.8911, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.63/1.63, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9505 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.35e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002612/0.002636, allocations: 1.517 MB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.003608, allocations: 0.7833 MB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.003667, allocations: 4 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.003696, allocations: 3.938 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.003754, allocations: 11.81 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.00433, allocations: 155.4 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.004451, allocations: 103.6 kB / 0.953 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.004545, allocations: 7.938 kB / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.004689, allocations: 59.94 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.004754, allocations: 35.88 kB / 0.9531 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.004774, allocations: 8 kB / 0.9531 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.004999, allocations: 139.7 kB / 0.9532 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.005024, allocations: 23.91 kB / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.005062, allocations: 27.91 kB / 0.9533 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.005296, allocations: 187.5 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005299, allocations: 0 / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.292e-06/0.0053, allocations: 0 / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.005304, allocations: 11.94 kB / 0.9535 GB, free: 472 kB / 0.9011 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.0005428/0.005847, allocations: 393.1 kB / 0.9538 GB, free: 36 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.005888, allocations: 8.031 kB / 0.9538 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.005934, allocations: 42.73 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.006122, allocations: 24.88 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.006305, allocations: 129.7 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.006327, allocations: 4.375 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.006342, allocations: 12.38 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.006497, allocations: 90.19 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.006504, allocations: 4.125 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.006516, allocations: 4.125 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.00652, allocations: 0 / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.006604, allocations: 47.97 kB / 0.9542 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.006974, allocations: 275.8 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.007088, allocations: 70.52 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.007146, allocations: 40.84 kB / 0.9546 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.007166, allocations: 3.984 kB / 0.9546 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.007285, allocations: 91.36 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.007286, allocations: 0 / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003159/0.007602, allocations: 189.5 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.007648, allocations: 55.41 kB / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.007722, allocations: 133.1 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.007735, allocations: 34.08 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.007775, allocations: 88.38 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.007795, allocations: 27.78 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.007835, allocations: 37.7 kB / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.007908, allocations: 322.7 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.007954, allocations: 27.97 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.00802, allocations: 74 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.008134, allocations: 109.9 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.008137, allocations: 3.938 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001502/0.008288, allocations: 137.4 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.008301, allocations: 10.03 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.008306, allocations: 0 / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.008319, allocations: 8.156 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.008372, allocations: 15.98 kB / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.008378, allocations: 3.938 kB / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.008416, allocations: 19.89 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.008426, allocations: 4 kB / 0.9559 GB, free: 13.72 MB / 0.9167 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 8.232e-05/0.008509, allocations: 125.8 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.008523, allocations: 11.94 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.008547, allocations: 4.438 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008549, allocations: 4 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.008555, allocations: 4 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008559, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.008925, allocations: 401.6 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008927, allocations: 0 / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.872e-05/0.008946, allocations: 7.938 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.008948, allocations: 0 / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.008958, allocations: 7.922 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.008961, allocations: 4 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.008962, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.009172, allocations: 263.3 kB / 0.9567 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.009184, allocations: 11.84 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.009201, allocations: 4.188 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.009249, allocations: 11.98 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.009283, allocations: 3.938 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.009294, allocations: 7.984 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.009336, allocations: 102.1 kB / 0.9568 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009336, allocations: 0 / 0.9568 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002387/0.009574, allocations: 47.86 kB / 0.9569 GB, free: 12.64 MB / 0.9167 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.0005863/0.01016, allocations: 0.8584 MB / 0.9577 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01033, allocations: 87.83 kB / 0.9578 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01033, allocations: 320 / 0.9578 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.0104, allocations: 44.08 kB / 0.9578 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.0106, allocations: 26.16 kB / 0.9579 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.01173, allocations: 1.607 MB / 0.9594 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01177, allocations: 79.58 kB / 0.9595 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.0118, allocations: 8.719 kB / 0.9595 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.01184, allocations: 20.5 kB / 0.9595 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01184, allocations: 0 / 0.9595 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.02786, allocations: 3.772 MB / 0.9632 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/6.831, allocations: 7.562 kB / 0.9632 GB, free: 6.148 MB / 0.9167 GB " [Timeout remaining time 293] (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] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.827890411019325]