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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005113/0.005113, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001252/0.001252, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.555/2.555, allocations: 469.4 MB / 0.7421 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.91 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.8012, allocations: 159.1 MB / 1.22 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002961/0.8042, allocations: 1.509 MB / 1.221 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.8056, allocations: 0.741 MB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.8057, allocations: 0 / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.8058, allocations: 11.86 kB / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.507e-05/0.8059, allocations: 15.88 kB / 1.222 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.8066, allocations: 127.5 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.8067, allocations: 99.69 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.8068, allocations: 11.98 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.807, allocations: 35.86 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.8071, allocations: 51.81 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.8071, allocations: 12 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.8073, allocations: 99.84 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.8074, allocations: 11.98 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.8074, allocations: 47.78 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.8077, allocations: 151.2 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8077, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8077, allocations: 3.938 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.8077, allocations: 3.938 kB / 1.223 GB, free: 15.4 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.0006411/0.8084, allocations: 466.3 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8084, allocations: 8.625 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.8085, allocations: 38.75 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.8085, allocations: 16.83 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.8086, allocations: 172.3 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.8087, allocations: 4.375 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.8087, allocations: 8.375 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.8089, allocations: 93.69 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8089, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.809, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.809, allocations: 8 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.8091, allocations: 43.97 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.8097, allocations: 312.8 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.8099, allocations: 70.58 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.81, allocations: 52.83 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.81, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.8103, allocations: 91.36 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.8103, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0005185/0.8109, allocations: 193.4 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.8109, allocations: 59.41 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.8111, allocations: 137.2 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.8111, allocations: 29.7 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.8111, allocations: 88.38 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.8112, allocations: 27.78 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.8113, allocations: 29.72 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8114, allocations: 322.8 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.8115, allocations: 31.97 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.8116, allocations: 77.94 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.8118, allocations: 105.9 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8118, allocations: 3.938 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002909/0.8121, allocations: 141.5 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8121, allocations: 4 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8122, allocations: 8.156 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.8122, allocations: 0 / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.8123, allocations: 15.98 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.8123, allocations: 7.938 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.8124, allocations: 7.953 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.8124, allocations: 8 kB / 1.225 GB, free: 12.48 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 0.0001102/0.8125, allocations: 125.7 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.8126, allocations: 15.94 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.8126, allocations: 8.375 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8126, allocations: 4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.8126, allocations: 0 / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8126, allocations: 0 / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.8133, allocations: 430.5 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.8133, allocations: 4.406 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.8133, allocations: 11.98 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8133, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.8133, allocations: 4 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8134, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8134, allocations: 7.875 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.8137, allocations: 247.4 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.8138, allocations: 81.06 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.8138, allocations: 8 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.8139, allocations: 7.984 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.814, allocations: 11.92 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.814, allocations: 4 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.193e-05/0.8141, allocations: 99.27 kB / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8141, allocations: 0 / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003476/0.8145, allocations: 47.86 kB / 1.226 GB, free: 11.28 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.000919/0.8154, allocations: 0.8573 MB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.8157, allocations: 91.83 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8157, allocations: 320 / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.8158, allocations: 47.98 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.8161, allocations: 15.92 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.8179, allocations: 1.605 MB / 1.229 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.8182, allocations: 0.6924 MB / 1.229 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.8183, allocations: 4 kB / 1.229 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.8184, allocations: 27.42 kB / 1.229 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.8184, allocations: 0 / 1.229 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.8402, allocations: 2.997 MB / 1.232 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/8.359, allocations: 7.797 kB / 1.232 GB, free: 4.957 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.H in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.pDown,bli.pUp,H.amplitude