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.004066/0.004066, allocations: 102.1 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 192.9 kB / 16.68 MB, free: 5.973 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.562/2.562, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.83 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.6331, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002249/0.6354, allocations: 1.51 MB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.6365, allocations: 0.7488 MB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.6365, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.6365, allocations: 3.938 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.6366, allocations: 19.73 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.6371, allocations: 131.5 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.6372, allocations: 91.77 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.215e-05/0.6373, allocations: 11.98 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.6374, allocations: 43.84 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.6375, allocations: 47.81 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.6375, allocations: 8 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.6377, allocations: 95.84 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.6377, allocations: 19.98 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.6377, allocations: 39.8 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.638, allocations: 147.2 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.638, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.263e-06/0.638, allocations: 7.938 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.638, allocations: 4 kB / 1.223 GB, free: 15.09 MB / 0.9512 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.0005531/0.6386, allocations: 466.3 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.6386, allocations: 12.03 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.6386, allocations: 34.69 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.6387, allocations: 12.84 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.6388, allocations: 184.3 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.6388, allocations: 384 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.6388, allocations: 12.38 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.639, allocations: 89.75 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6391, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.6391, allocations: 3.938 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.6391, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.6392, allocations: 47.97 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.6397, allocations: 316.8 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.6399, allocations: 70.58 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.64, allocations: 40.84 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.64, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.6402, allocations: 99.44 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.6402, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0004415/0.6407, allocations: 189.5 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.6407, allocations: 59.39 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.6408, allocations: 123.3 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.6408, allocations: 29.7 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.6409, allocations: 96.36 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.6409, allocations: 19.8 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.641, allocations: 41.7 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6411, allocations: 322.8 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.6412, allocations: 27.92 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.6413, allocations: 77.92 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.6415, allocations: 109.9 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6415, allocations: 0 / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002404/0.6418, allocations: 137.4 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.6418, allocations: 4 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6418, allocations: 0 / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.6418, allocations: 4 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.6419, allocations: 15.98 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.6419, allocations: 7.938 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.642, allocations: 16.03 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.642, allocations: 4.156 kB / 1.226 GB, free: 12.18 MB / 0.9512 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 9.74e-05/0.6421, allocations: 138.2 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.6421, allocations: 7.953 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.6421, allocations: 4.375 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.6421, allocations: 3.984 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6422, allocations: 8 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6422, allocations: 0 / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.6427, allocations: 434.7 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6427, allocations: 0 / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.6427, allocations: 4 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6427, allocations: 8.031 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.6428, allocations: 7.922 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6428, allocations: 0 / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6428, allocations: 3.938 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.6431, allocations: 255.4 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.6432, allocations: 81.06 kB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.6432, allocations: 4 kB / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.6433, allocations: 7.984 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.6433, allocations: 7.938 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.6433, allocations: 7.984 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.6434, allocations: 97.14 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6434, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002693/0.6437, allocations: 43.88 kB / 1.227 GB, free: 10.97 MB / 0.9512 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.0007992/0.6445, allocations: 0.8463 MB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.6447, allocations: 95.83 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6448, allocations: 0 / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.6449, allocations: 47.97 kB / 1.228 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.6451, allocations: 15.92 kB / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.6467, allocations: 1.607 MB / 1.229 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.647, allocations: 0.6885 MB / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.604e-05/0.647, allocations: 11.97 kB / 1.23 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.6471, allocations: 23.44 kB / 1.23 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.6471, allocations: 0 / 1.23 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.362/2.009, allocations: 3.01 MB / 1.233 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.89, allocations: 3.938 kB / 1.233 GB, free: 4.637 MB / 0.9512 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