Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 68.7 kB / 0.9087 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2419, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002497/0.2444, allocations: 1.495 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2456, allocations: 0.7224 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.2456, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.2457, allocations: 3.938 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.2457, allocations: 15.86 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.2462, allocations: 119.6 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.2463, allocations: 71.78 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.2464, allocations: 8 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.639e-05/0.2465, allocations: 35.91 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.2466, allocations: 31.84 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2466, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.2468, allocations: 95.84 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.2468, allocations: 19.92 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.2468, allocations: 31.86 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.2471, allocations: 139.9 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2471, allocations: 3.938 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2471, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2471, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 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.0005401/0.2476, allocations: 438.7 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.2477, allocations: 8.031 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.2477, allocations: 46.73 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.2477, allocations: 8.844 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2479, allocations: 176.2 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.2479, allocations: 4.375 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2479, allocations: 8.375 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2481, allocations: 69.78 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2481, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2481, allocations: 7.922 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2481, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2483, allocations: 35.98 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.2487, allocations: 300.7 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.2489, allocations: 46.56 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.2489, allocations: 32.97 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.249, allocations: 11.98 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.2492, allocations: 75.44 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.246e-06/0.2492, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003692/0.2495, allocations: 149.5 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2496, allocations: 51.41 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.2497, allocations: 125.8 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.2497, allocations: 29.7 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.2498, allocations: 95.98 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2498, allocations: 15.81 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.2498, allocations: 25.7 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.25, allocations: 322.8 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.25, allocations: 19.98 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.2502, allocations: 65.52 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.2503, allocations: 93.06 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2503, allocations: 0 / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002131/0.2506, allocations: 109.5 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2506, allocations: 8 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2506, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2506, allocations: 4 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.2507, allocations: 12.14 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2507, allocations: 11.88 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.2508, allocations: 15.91 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2508, allocations: 4 kB / 1.069 GB, free: 8.734 MB / 0.8262 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.pDown,$PRE.bli.pDown,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.16e-05/0.2509, allocations: 127 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.2509, allocations: 11.84 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.2509, allocations: 8.375 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2509, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2509, allocations: 4 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.251, allocations: 4 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.2514, allocations: 378.4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2514, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.2514, allocations: 7.984 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2515, allocations: 0 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2515, allocations: 4 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2515, allocations: 3.938 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2515, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.2518, allocations: 219.3 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.2518, allocations: 85.02 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2518, allocations: 0 / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.2519, allocations: 7.938 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.252, allocations: 3.984 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.252, allocations: 8 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.252, allocations: 99.42 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.252, allocations: 0 / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002736/0.2523, allocations: 39.98 kB / 1.07 GB, free: 7.645 MB / 0.8262 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.pDown,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.0007546/0.2531, allocations: 0.7937 MB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2533, allocations: 72.38 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2533, allocations: 0 / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.2534, allocations: 31.98 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2537, allocations: 20.39 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.2552, allocations: 1.5 MB / 1.072 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2554, allocations: 0.6961 MB / 1.073 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.2555, allocations: 4 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.2555, allocations: 23.42 kB / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2555, allocations: 0 / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.853/1.109, allocations: 2.598 MB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.56, allocations: 0 / 1.076 GB, free: 1.859 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time