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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, 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.001397/0.001397, allocations: 198.2 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 67.86 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2496, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002607/0.2522, allocations: 1.503 MB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2534, allocations: 0.7535 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.2534, allocations: 4 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.2535, allocations: 3.938 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.2535, allocations: 15.8 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.254, allocations: 127.6 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2541, allocations: 95.7 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.79e-05/0.2542, allocations: 11.98 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.2542, allocations: 39.91 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.2543, allocations: 47.83 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2543, allocations: 8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.2545, allocations: 99.84 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.2546, allocations: 15.92 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.2546, allocations: 39.84 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.2548, allocations: 155.8 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2548, allocations: 3.984 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2548, allocations: 4 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2549, allocations: 4 kB / 1.067 GB, free: 11.3 MB / 0.8262 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.000569/0.2554, allocations: 454.5 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.2555, allocations: 8.031 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.2555, allocations: 34.75 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.2555, allocations: 8.844 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2557, allocations: 180.2 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.2557, allocations: 384 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2557, allocations: 12.38 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.2559, allocations: 93.75 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2559, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.256, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-06/0.256, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.2561, allocations: 51.91 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.2566, allocations: 316.7 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2568, allocations: 74.55 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2569, allocations: 52.86 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2569, allocations: 0 / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.2571, allocations: 95.3 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2571, allocations: 4 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004413/0.2576, allocations: 189.5 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.2576, allocations: 55.41 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.2577, allocations: 135 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.2577, allocations: 29.7 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.2578, allocations: 92.31 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2578, allocations: 23.73 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.2579, allocations: 33.72 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.258, allocations: 322.8 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.2581, allocations: 27.98 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2582, allocations: 79.89 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2584, allocations: 109.9 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2584, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002479/0.2587, allocations: 149.3 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2587, allocations: 4 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2587, allocations: 4 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.2587, allocations: 0 / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.2588, allocations: 15.98 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2588, allocations: 4 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.2589, allocations: 7.906 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2589, allocations: 4 kB / 1.069 GB, free: 8.391 MB / 0.8262 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.0001015/0.259, allocations: 137.8 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.259, allocations: 11.89 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.259, allocations: 8.375 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.259, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2591, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2591, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.2596, allocations: 434.7 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2596, allocations: 0 / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.2596, allocations: 7.984 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2597, allocations: 4 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2597, allocations: 0 / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2597, allocations: 0 / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2597, allocations: 7.875 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.26, allocations: 247.4 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.2601, allocations: 81.02 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.2601, allocations: 11.94 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.2602, allocations: 7.984 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.2603, allocations: 3.938 kB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2603, allocations: 7.984 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.2603, allocations: 100 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2603, allocations: 3.938 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000287/0.2606, allocations: 43.98 kB / 1.071 GB, free: 7.191 MB / 0.8262 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.0008662/0.2615, allocations: 0.8527 MB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.2618, allocations: 99.81 kB / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2618, allocations: 0 / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.2619, allocations: 47.98 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.2622, allocations: 13.17 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.2638, allocations: 1.587 MB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2641, allocations: 0.6963 MB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.2641, allocations: 4 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.2642, allocations: 27.42 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2642, allocations: 0 / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.649/2.913, allocations: 2.942 MB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/15.52, allocations: 2.625 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB (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 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches