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.001992/0.001992, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002274/0.002274, allocations: 198.7 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.397/2.397, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.987/3.987, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 60.91 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5263, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.005391/0.5317, allocations: 1.568 MB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.5341, allocations: 0.7517 MB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.5342, allocations: 0 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.71e-05/0.5343, allocations: 7.922 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.5344, allocations: 15.86 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009698/0.5355, allocations: 111.8 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.5357, allocations: 83.83 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.5359, allocations: 12 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.536, allocations: 51.77 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.5362, allocations: 39.83 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.5362, allocations: 8 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.5366, allocations: 95.91 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.5366, allocations: 27.91 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.185e-05/0.5367, allocations: 35.86 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.5371, allocations: 155.8 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5372, allocations: 4 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.24e-06/0.5372, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.5372, allocations: 3.938 kB / 1.055 GB, free: 5.656 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.001036/0.5383, allocations: 458.6 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.5383, allocations: 12.62 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.5384, allocations: 34.69 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.5385, allocations: 8.844 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.5387, allocations: 179 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.5388, allocations: 12.36 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.5388, allocations: 12.38 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.5392, allocations: 93.69 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5393, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.5393, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5393, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.5396, allocations: 47.97 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009745/0.5406, allocations: 328.5 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.5408, allocations: 66.55 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.541, allocations: 40.84 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.5411, allocations: 0 / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.5415, allocations: 99.44 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/0.5415, allocations: 3.938 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000963/0.5425, allocations: 177.5 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.5426, allocations: 67.33 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.5428, allocations: 121.8 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.5428, allocations: 29.7 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.5429, allocations: 92.28 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.543, allocations: 27.89 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.5431, allocations: 38.08 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.5433, allocations: 322.8 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.5435, allocations: 23.98 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.5437, allocations: 73.98 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.5441, allocations: 121.7 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5441, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005319/0.5447, allocations: 133.4 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.5447, allocations: 7.984 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5448, allocations: 0 / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5448, allocations: 4 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.545, allocations: 15.94 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.545, allocations: 11.98 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.5451, allocations: 12.06 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.5452, allocations: 8 kB / 1.058 GB, free: 2.738 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 0.0001731/0.5453, allocations: 131.2 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.5454, allocations: 7.906 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.5455, allocations: 8.359 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.5455, allocations: 4.078 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.5455, allocations: 3.938 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5455, allocations: 4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5466, allocations: 430.4 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5466, allocations: 0 / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.5467, allocations: 4 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.5467, allocations: 4 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.5468, allocations: 3.984 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5468, allocations: 0 / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5468, allocations: 3.938 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.5475, allocations: 255.3 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.5476, allocations: 81.02 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.5476, allocations: 4 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.5478, allocations: 3.984 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.5479, allocations: 11.94 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.548, allocations: 8.172 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001158/0.5481, allocations: 95.27 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5481, allocations: 3.938 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006201/0.5487, allocations: 44 kB / 1.059 GB, free: 1.551 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.00158/0.5503, allocations: 0.8514 MB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005169/0.5509, allocations: 95.81 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5509, allocations: 0 / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.5511, allocations: 47.92 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.5517, allocations: 20.45 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.5549, allocations: 1.611 MB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.5555, allocations: 0.6885 MB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.762e-05/0.5556, allocations: 8.172 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.303e-05/0.5557, allocations: 23.42 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of SimCode: time 1.433e-06/0.5557, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6632/1.219, allocations: 2.84 MB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004659/1.219, allocations: 280.4 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/4.838, allocations: 0 / 1.065 GB, free: 11.03 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