Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.413/2.413, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 60.83 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.236, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002617/0.2387, allocations: 1.511 MB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2398, allocations: 0.7637 MB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.2399, allocations: 0 / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.2399, allocations: 11.86 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.24, allocations: 11.88 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.2405, allocations: 127.6 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2407, allocations: 91.77 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.2408, allocations: 11.98 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.2409, allocations: 39.84 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.2409, allocations: 51.83 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.241, allocations: 11.94 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.2412, allocations: 91.91 kB / 1.056 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.2412, allocations: 23.91 kB / 1.056 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.2413, allocations: 35.86 kB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.2416, allocations: 147.9 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2416, allocations: 0 / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2416, allocations: 7.875 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2416, allocations: 0 / 1.056 GB, free: 5.344 MB / 0.8106 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.0005985/0.2422, allocations: 462.6 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2422, allocations: 16.61 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.2423, allocations: 34.75 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.2423, allocations: 8.844 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2424, allocations: 168.3 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2425, allocations: 8.359 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.2425, allocations: 12.38 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.2427, allocations: 85.7 kB / 1.057 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2427, allocations: 0 / 1.057 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.2427, allocations: 11.98 kB / 1.057 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2427, allocations: 0 / 1.057 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.2429, allocations: 47.97 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.2434, allocations: 316.6 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.2435, allocations: 78.58 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/0.2436, allocations: 40.84 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2437, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.2439, allocations: 99.44 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.2439, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004396/0.2443, allocations: 193.5 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2444, allocations: 55.41 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.2445, allocations: 133 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2445, allocations: 25.7 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.2445, allocations: 100.3 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2446, allocations: 19.75 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.2446, allocations: 33.7 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.322e-05/0.2447, allocations: 322.8 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.2448, allocations: 31.98 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.2449, allocations: 73.92 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.2451, allocations: 117.8 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2451, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002339/0.2453, allocations: 133.6 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2453, allocations: 5.719 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2453, allocations: 4 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2453, allocations: 4 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.2454, allocations: 23.92 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2455, allocations: 4 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.2455, allocations: 11.89 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2455, allocations: 4 kB / 1.058 GB, free: 2.426 MB / 0.8106 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.927e-05/0.2456, allocations: 135.8 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.2457, allocations: 7.906 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.2457, allocations: 8.375 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2457, allocations: 0 / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2457, allocations: 4 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2457, allocations: 3.984 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.2462, allocations: 434.6 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2462, allocations: 0 / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.2463, allocations: 8 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2463, allocations: 4 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2463, allocations: 7.984 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2463, allocations: 0 / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2463, allocations: 3.938 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.2466, allocations: 247.3 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.2467, allocations: 81.02 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.2467, allocations: 12 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.2468, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.2468, allocations: 11.92 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.2468, allocations: 7.984 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.2469, allocations: 99.27 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2469, allocations: 0 / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002795/0.2472, allocations: 40 kB / 1.059 GB, free: 1.234 MB / 0.8106 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.02521/0.2724, allocations: 0.8519 MB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.2727, allocations: 99.89 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2728, allocations: 0 / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.2729, allocations: 55.91 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2733, allocations: 15.92 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2749, allocations: 1.582 MB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.2751, allocations: 0.6885 MB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.2751, allocations: 15.98 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.2752, allocations: 19.44 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2752, allocations: 0 / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.459/1.735, allocations: 2.947 MB / 1.066 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/9.795, allocations: 4.297 kB / 1.066 GB, free: 10.95 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches