Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_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.005514/0.005514, allocations: 105.4 kB / 15.74 MB, free: 6.004 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.001125/0.001125, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9151, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002759/0.9179, allocations: 1.5 MB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.9192, allocations: 0.7465 MB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.9193, allocations: 1.344 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.9194, allocations: 5.297 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.9194, allocations: 9.641 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.92, allocations: 136 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.9202, allocations: 93.3 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.9203, allocations: 11.58 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.9204, allocations: 38.81 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.563e-05/0.9205, allocations: 48.52 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.9206, allocations: 7.844 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.9208, allocations: 98.59 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.9209, allocations: 20.53 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.138e-05/0.921, allocations: 46.67 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.9213, allocations: 153.6 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9213, allocations: 0 / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9213, allocations: 0 / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.9213, allocations: 0 / 1.09 GB, free: 3.434 MB / 0.8575 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.0006699/0.922, allocations: 460.8 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.9221, allocations: 13.06 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.9221, allocations: 38.84 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.9222, allocations: 8.906 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.9223, allocations: 178.8 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.9224, allocations: 8.734 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.9224, allocations: 5.594 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.9227, allocations: 88.41 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.9227, allocations: 1.703 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.9227, allocations: 8.484 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.9227, allocations: 9.031 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.9229, allocations: 45.67 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006526/0.9236, allocations: 319.1 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.9238, allocations: 64.25 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.9239, allocations: 50.83 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.924, allocations: 2.156 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.9243, allocations: 95.34 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.9244, allocations: 0 / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006228/0.925, allocations: 183.7 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.925, allocations: 55.77 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.9252, allocations: 137.6 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.9252, allocations: 28.83 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.9253, allocations: 92.28 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.9253, allocations: 21.02 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.9254, allocations: 31.92 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.9255, allocations: 323.7 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.627e-05/0.9256, allocations: 28.8 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.9257, allocations: 80.23 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.9259, allocations: 110.8 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9259, allocations: 1.156 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002738/0.9262, allocations: 134.6 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.9262, allocations: 5.031 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9262, allocations: 1.75 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.9262, allocations: 7.859 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.9264, allocations: 19.23 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.9264, allocations: 6.5 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.9264, allocations: 13.23 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.9265, allocations: 10.33 kB / 1.093 GB, free: 1.211 MB / 0.8575 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.000102/0.9266, allocations: 125.1 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.9266, allocations: 8.469 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.9267, allocations: 14.94 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.9267, allocations: 5.406 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9267, allocations: 0.9688 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9267, allocations: 0.7969 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.9272, allocations: 433.5 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9272, allocations: 4.453 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.9273, allocations: 5.375 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.9273, allocations: 1.859 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.9273, allocations: 7.25 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9273, allocations: 0 / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9273, allocations: 9.172 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.9277, allocations: 247.7 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.9277, allocations: 87.97 kB / 1.094 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.9278, allocations: 2.312 kB / 1.094 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.9279, allocations: 5.594 kB / 1.094 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.9279, allocations: 13.48 kB / 1.094 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.928, allocations: 9.078 kB / 1.094 GB, free: 416 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.928, allocations: 93.23 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.928, allocations: 0.8438 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003459/0.9284, allocations: 41.58 kB / 1.094 GB, free: 328 kB / 0.8575 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.0009259/0.9293, allocations: 0.846 MB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.9297, allocations: 89.11 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9297, allocations: 320 / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.9299, allocations: 56.89 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.9302, allocations: 17.25 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.9325, allocations: 1.607 MB / 1.096 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.9328, allocations: 0.6946 MB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.9329, allocations: 6.047 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.9329, allocations: 25.19 kB / 1.097 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.9329, allocations: 0.8125 kB / 1.097 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.9555, allocations: 2.98 MB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/8.346, allocations: 12.14 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches