Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001376/0.001376, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001488/0.001488, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.992 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.804/2.804, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.002037/0.002037, allocations: 66.55 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3223, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003343/0.3256, allocations: 1.552 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3274, allocations: 0.808 MB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3275, allocations: 0 / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.3275, allocations: 3.938 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.3276, allocations: 7.875 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.3285, allocations: 155.5 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.3287, allocations: 75.78 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3288, allocations: 11.97 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.329, allocations: 47.84 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.3291, allocations: 39.83 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.3292, allocations: 8 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.3295, allocations: 143.7 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.3296, allocations: 19.92 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.3297, allocations: 31.86 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.33, allocations: 143.7 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.33, allocations: 4 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.33, allocations: 0 / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.3301, allocations: 0 / 1.286 GB, free: 8.68 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.0007923/0.3308, allocations: 363.5 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.3309, allocations: 8.031 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.331, allocations: 38.69 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.3313, allocations: 32.86 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3316, allocations: 131.6 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.3317, allocations: 8.375 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.3317, allocations: 4.375 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3319, allocations: 73.58 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3319, allocations: 4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3319, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3319, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3321, allocations: 39.97 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.3327, allocations: 287.8 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3328, allocations: 46.56 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.3329, allocations: 28.97 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3329, allocations: 4 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3331, allocations: 75.38 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3331, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004112/0.3335, allocations: 133.5 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.3336, allocations: 63.39 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3337, allocations: 121.8 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3338, allocations: 29.7 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.3338, allocations: 100.1 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.3338, allocations: 15.91 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.3339, allocations: 33.7 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.334, allocations: 318.8 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.3341, allocations: 31.97 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.3342, allocations: 50.5 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3344, allocations: 74.48 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3344, allocations: 0 / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002591/0.3347, allocations: 113.5 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3347, allocations: 8.062 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3347, allocations: 4 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3347, allocations: 0 / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3348, allocations: 11.98 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3348, allocations: 3.938 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.3349, allocations: 4 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3349, allocations: 7.938 kB / 1.288 GB, free: 6.234 MB / 0.9825 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.0001147/0.335, allocations: 113.8 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.335, allocations: 15.94 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.3351, allocations: 12.38 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3351, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3351, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3351, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.3356, allocations: 361.4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3356, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.3356, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.3356, allocations: 3.984 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3356, allocations: 11.98 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3356, allocations: 3.938 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3356, allocations: 0 / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.336, allocations: 204 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.336, allocations: 15.83 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.336, allocations: 3.984 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.3361, allocations: 11.94 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3362, allocations: 7.984 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3362, allocations: 8 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.608e-05/0.3362, allocations: 95.27 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3362, allocations: 0 / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003409/0.3366, allocations: 39.88 kB / 1.289 GB, free: 5.262 MB / 0.9825 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.001001/0.3376, allocations: 0.8002 MB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.3378, allocations: 71.89 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3378, allocations: 0 / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3379, allocations: 32.05 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3382, allocations: 11.94 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3401, allocations: 1.504 MB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3404, allocations: 0.6924 MB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.3405, allocations: 4 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.3405, allocations: 19.42 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3405, allocations: 0 / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.3726, allocations: 2.829 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 5.719 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.13226144411601]