Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002657/0.002657, allocations: 214.8 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.618/1.618, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.885/2.885, allocations: 476.7 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 1.117 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3676, allocations: 169.9 MB / 1.283 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003262/0.3709, allocations: 1.537 MB / 1.285 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3728, allocations: 0.8232 MB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3729, allocations: 0 / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.775e-05/0.373, allocations: 3.938 kB / 1.286 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.579e-05/0.3731, allocations: 11.86 kB / 1.286 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3741, allocations: 147.5 kB / 1.286 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.3743, allocations: 71.84 kB / 1.286 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3744, allocations: 16.11 kB / 1.286 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.3746, allocations: 47.78 kB / 1.286 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3747, allocations: 43.88 kB / 1.286 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.3748, allocations: 8 kB / 1.286 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.3751, allocations: 135.8 kB / 1.286 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.3752, allocations: 19.92 kB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.3752, allocations: 31.84 kB / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.3756, allocations: 155.4 kB / 1.286 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3756, allocations: 0 / 1.286 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3756, allocations: 0 / 1.286 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3756, allocations: 4 kB / 1.286 GB, free: 0.7109 MB / 0.9825 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.0007281/0.3763, allocations: 347.5 kB / 1.287 GB, free: 344 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3764, allocations: 8.031 kB / 1.287 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.3764, allocations: 38.75 kB / 1.287 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.3768, allocations: 24.91 kB / 1.287 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3771, allocations: 134.2 kB / 1.287 GB, free: 108 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.3771, allocations: 8.375 kB / 1.287 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3771, allocations: 8.375 kB / 1.287 GB, free: 92 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.3773, allocations: 81.44 kB / 1.287 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.3774, allocations: 8.047 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3774, allocations: 0 / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3774, allocations: 0 / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3775, allocations: 31.92 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.3782, allocations: 287.8 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.3783, allocations: 50.5 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.3784, allocations: 28.97 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3784, allocations: 0 / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3786, allocations: 79.38 kB / 1.287 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3786, allocations: 0 / 1.287 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004357/0.379, allocations: 137.7 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3791, allocations: 59.34 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3792, allocations: 130 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3792, allocations: 25.7 kB / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.3793, allocations: 96.08 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3793, allocations: 19.84 kB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.3794, allocations: 33.7 kB / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3795, allocations: 318.8 kB / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.3796, allocations: 27.97 kB / 1.288 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.67e-05/0.3797, allocations: 42.56 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.3799, allocations: 78.48 kB / 1.288 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3799, allocations: 0 / 1.288 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002552/0.3801, allocations: 117.5 kB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3801, allocations: 4 kB / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3801, allocations: 4 kB / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3802, allocations: 0 / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.3803, allocations: 16.05 kB / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3803, allocations: 0 / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.3803, allocations: 8 kB / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3803, allocations: 7.938 kB / 1.288 GB, free: 14.28 MB / 0.9981 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 0.0001033/0.3805, allocations: 117.8 kB / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.3805, allocations: 7.953 kB / 1.289 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.3805, allocations: 16.36 kB / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3805, allocations: 0 / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3805, allocations: 4 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3805, allocations: 0 / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.381, allocations: 349.5 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.381, allocations: 0 / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.3811, allocations: 11.94 kB / 1.289 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3811, allocations: 7.922 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3811, allocations: 7.984 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3811, allocations: 7.875 kB / 1.289 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3811, allocations: 4 kB / 1.289 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.3814, allocations: 204 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.3814, allocations: 7.891 kB / 1.289 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3814, allocations: 7.984 kB / 1.289 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.3815, allocations: 7.938 kB / 1.289 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.3815, allocations: 7.984 kB / 1.289 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3815, allocations: 0 / 1.289 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.935e-05/0.3816, allocations: 99.27 kB / 1.289 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3816, allocations: 0 / 1.289 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003163/0.3819, allocations: 35.94 kB / 1.289 GB, free: 13.32 MB / 0.9981 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.001006/0.383, allocations: 0.8111 MB / 1.29 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3832, allocations: 67.89 kB / 1.29 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3832, allocations: 0 / 1.29 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3833, allocations: 31.97 kB / 1.29 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3836, allocations: 17.42 kB / 1.29 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3856, allocations: 1.504 MB / 1.292 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3859, allocations: 0.6924 MB / 1.292 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.3859, allocations: 4 kB / 1.292 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.386, allocations: 19.42 kB / 1.292 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.386, allocations: 4 kB / 1.292 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.419, allocations: 2.824 MB / 1.295 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 5.172 kB / 1.295 GB, free: 7.363 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,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 [Calling sys.exit(0), Time elapsed: 18.50066295894794]