Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_10_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.006294/0.006295, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.002774/0.002774, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.649/2.649, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002732/0.275, allocations: 1.503 MB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2764, allocations: 0.7323 MB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.2765, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.2765, allocations: 3.938 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.2766, allocations: 15.84 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.2772, allocations: 119.6 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2773, allocations: 83.7 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.2774, allocations: 11.98 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.2775, allocations: 35.91 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.2776, allocations: 31.91 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.2776, allocations: 11.94 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.2778, allocations: 99.84 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.2779, allocations: 11.97 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.2779, allocations: 35.84 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.2782, allocations: 146.5 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2782, allocations: 0 / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.19e-05/0.2782, allocations: 0 / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.2782, allocations: 3.938 kB / 1.169 GB, free: 4.449 MB / 0.92 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.0005935/0.2788, allocations: 409.8 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2789, allocations: 8.031 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.2789, allocations: 42.73 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.2789, allocations: 8.844 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.279, allocations: 172.2 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2791, allocations: 8.375 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.2791, allocations: 8.375 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.2793, allocations: 69.78 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2793, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2793, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2793, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2795, allocations: 35.97 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.2801, allocations: 324.7 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.2802, allocations: 50.56 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.222e-05/0.2803, allocations: 32.97 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.2803, allocations: 11.92 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.2806, allocations: 79.28 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.2806, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000382/0.281, allocations: 141.9 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.281, allocations: 55.41 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.2811, allocations: 125.7 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2811, allocations: 29.7 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.2812, allocations: 96.08 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2812, allocations: 15.8 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.2813, allocations: 29.7 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.2814, allocations: 322.8 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.2815, allocations: 23.98 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.2816, allocations: 50.55 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.2817, allocations: 82.55 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2817, allocations: 0 / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002374/0.282, allocations: 109.5 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.282, allocations: 4 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.282, allocations: 3.984 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.282, allocations: 64 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.2821, allocations: 20 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2821, allocations: 3.938 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.2822, allocations: 7.984 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.2822, allocations: 4 kB / 1.171 GB, free: 1.855 MB / 0.92 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.322e-05/0.2823, allocations: 121.7 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.2824, allocations: 7.906 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.2824, allocations: 12.36 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2824, allocations: 4 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2824, allocations: 0 / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2824, allocations: 4 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.2829, allocations: 382.4 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2829, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.2829, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2829, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2829, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.2829, allocations: 11.86 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.283, allocations: 4 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.2832, allocations: 207.4 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.2833, allocations: 84.95 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2833, allocations: 8 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.2834, allocations: 7.922 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.2834, allocations: 4 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2835, allocations: 7.984 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.664e-05/0.2835, allocations: 99.2 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2835, allocations: 0 / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003045/0.2838, allocations: 36 kB / 1.172 GB, free: 0.7695 MB / 0.92 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.0007597/0.2846, allocations: 0.8142 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.2848, allocations: 67.91 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2849, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.285, allocations: 39.91 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2852, allocations: 8.062 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.2868, allocations: 1.484 MB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.287, allocations: 0.6924 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.2871, allocations: 4 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.2871, allocations: 23.42 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.2871, allocations: 3.938 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.3053, allocations: 2.64 MB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.201, allocations: 18.05 kB / 1.178 GB, free: 11 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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