Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.005769/0.005769, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001273/0.001273, allocations: 194.6 kB / 16.68 MB, free: 5.98 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.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.332/2.332, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.72 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3067, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002795/0.3095, allocations: 1.492 MB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3108, allocations: 0.7453 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.3109, allocations: 7.938 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.3109, allocations: 3.938 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.311, allocations: 19.84 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.3116, allocations: 115.6 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3117, allocations: 75.77 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.3118, allocations: 12.17 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.84e-05/0.3119, allocations: 47.83 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.312, allocations: 27.91 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.312, allocations: 11.94 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.3122, allocations: 95.84 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.3122, allocations: 15.98 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.3123, allocations: 31.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.3125, allocations: 138.5 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3125, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3126, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3126, allocations: 0 / 1.09 GB, free: 15.15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006656/0.3132, allocations: 455.5 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3133, allocations: 8.031 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.3133, allocations: 34.75 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.3134, allocations: 8.844 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3135, allocations: 176.2 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.3135, allocations: 8.359 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3136, allocations: 4.375 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.3138, allocations: 81.59 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3138, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3138, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3138, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.314, allocations: 35.97 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.3145, allocations: 316.5 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3146, allocations: 54.56 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.3147, allocations: 32.97 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3148, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.315, allocations: 79.36 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.315, allocations: 7.938 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.00042/0.3154, allocations: 149.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3155, allocations: 55.34 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.3156, allocations: 124.7 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3156, allocations: 33.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.3157, allocations: 88.14 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3157, allocations: 15.88 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3158, allocations: 29.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3159, allocations: 326.8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.316, allocations: 23.98 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.355e-05/0.3161, allocations: 65.02 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3162, allocations: 89.06 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3162, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002148/0.3164, allocations: 117.4 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3165, allocations: 8.156 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3165, allocations: 4 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3165, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.3166, allocations: 19.98 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3166, allocations: 3.938 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.3167, allocations: 11.84 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.3167, allocations: 7.938 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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.546e-05/0.3168, allocations: 121.8 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.3168, allocations: 8 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.3169, allocations: 8.375 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3169, allocations: 3.938 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3169, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3169, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.3173, allocations: 390.3 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3174, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.3174, allocations: 7.984 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3174, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3174, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3174, allocations: 7.938 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3174, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.3178, allocations: 215.3 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.3178, allocations: 89 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3178, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.3179, allocations: 15.94 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.318, allocations: 7.984 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.318, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.3181, allocations: 95.27 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3181, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003071/0.3184, allocations: 39.98 kB / 1.094 GB, free: 11.35 MB / 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007773/0.3192, allocations: 0.799 MB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.3194, allocations: 76.38 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3194, allocations: 320 / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3195, allocations: 39.97 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3198, allocations: 21.7 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3214, allocations: 1.52 MB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3216, allocations: 0.6963 MB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.3217, allocations: 0 / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.3217, allocations: 23.42 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3217, allocations: 0 / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3488, allocations: 2.74 MB / 1.099 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.941, allocations: 11.75 kB / 1.099 GB, free: 5.434 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time