Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.001262/0.001262, 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.001198/0.001199, allocations: 195.8 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.565/2.565, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 66.59 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2451, allocations: 159.1 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002325/0.2475, allocations: 1.504 MB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2486, allocations: 0.7341 MB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.2486, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.2487, allocations: 3.938 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.2487, allocations: 15.86 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.2491, allocations: 119.6 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.2492, allocations: 79.77 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.113e-05/0.2493, allocations: 16 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.2494, allocations: 31.91 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.2495, allocations: 39.83 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2495, allocations: 8 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.2497, allocations: 95.84 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.2497, allocations: 19.92 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.2497, allocations: 31.84 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.2499, allocations: 135.9 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.25, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.81e-07/0.25, allocations: 8 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.25, allocations: 0 / 1.067 GB, free: 11.42 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.0005073/0.2505, allocations: 417 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.2505, allocations: 12.03 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.2506, allocations: 30.75 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.2506, allocations: 8.844 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2507, allocations: 176.2 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.2507, allocations: 12.36 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.2508, allocations: 8.375 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2509, allocations: 65.78 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.2509, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.251, allocations: 4 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.251, allocations: 7.938 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.2511, allocations: 39.91 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.2516, allocations: 316.7 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2518, allocations: 50.56 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.2519, allocations: 32.97 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.2519, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.2521, allocations: 79.38 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.336e-06/0.2521, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.2524, allocations: 145.5 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.2525, allocations: 55.47 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.2526, allocations: 117.8 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2526, allocations: 29.7 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.2527, allocations: 96.03 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.2527, allocations: 23.75 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.2528, allocations: 25.7 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2529, allocations: 322.8 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.253, allocations: 27.98 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.071e-05/0.2531, allocations: 43 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.2533, allocations: 78.48 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2533, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002308/0.2535, allocations: 109.6 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2535, allocations: 4 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2535, allocations: 4 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.2535, allocations: 0 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.2536, allocations: 19.98 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.2537, allocations: 4.328 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.2537, allocations: 7.906 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2537, allocations: 4 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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 8.97e-05/0.2538, allocations: 125.8 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.2538, allocations: 11.91 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.2539, allocations: 8.375 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2539, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2539, allocations: 4 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2539, allocations: 0 / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.2543, allocations: 390.3 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2544, allocations: 4 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.2544, allocations: 7.984 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2544, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.2544, allocations: 4 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2544, allocations: 3.938 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2544, allocations: 4 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.2547, allocations: 215.3 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.2548, allocations: 85.02 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2548, allocations: 3.938 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.2549, allocations: 7.938 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.2549, allocations: 7.984 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2549, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.255, allocations: 99.42 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.255, allocations: 0 / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002603/0.2552, allocations: 36 kB / 1.07 GB, free: 7.734 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.00072/0.256, allocations: 0.7956 MB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.2562, allocations: 71.89 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2562, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.384e-05/0.2563, allocations: 35.92 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.2565, allocations: 16.05 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.258, allocations: 1.492 MB / 1.072 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2582, allocations: 0.6922 MB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.2583, allocations: 7.984 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.2583, allocations: 23.42 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2583, allocations: 0 / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.956/4.214, allocations: 2.597 MB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.607/13.82, allocations: 18.92 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed