Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] 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.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 71.88 kB / 1.056 GB, free: 2.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.333, allocations: 160.7 MB / 1.213 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003814/0.3368, allocations: 1.536 MB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.3386, allocations: 0.7681 MB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.3386, allocations: 0 / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.3387, allocations: 7.938 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.343e-05/0.3387, allocations: 15.8 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.3394, allocations: 135.6 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3396, allocations: 111.7 kB / 1.215 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.3397, allocations: 7.938 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3398, allocations: 47.91 kB / 1.215 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3399, allocations: 55.8 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3399, allocations: 8 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.3402, allocations: 107.8 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.3403, allocations: 31.89 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.3403, allocations: 31.86 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.3407, allocations: 171.4 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3407, allocations: 0 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3407, allocations: 0 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3407, allocations: 0 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000924/0.3416, allocations: 466.3 kB / 1.216 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.3417, allocations: 12.03 kB / 1.216 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.3417, allocations: 30.75 kB / 1.216 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.3418, allocations: 8.891 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3419, allocations: 180.2 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.342, allocations: 8.375 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.342, allocations: 4.375 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.3423, allocations: 97.69 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.3423, allocations: 0 / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3423, allocations: 4 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3423, allocations: 0 / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.3425, allocations: 51.89 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.3433, allocations: 348.7 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3435, allocations: 50.56 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3436, allocations: 40.83 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3437, allocations: 0 / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.344, allocations: 103.4 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.344, allocations: 0 / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005712/0.3445, allocations: 185.5 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.3446, allocations: 55.41 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3447, allocations: 125.8 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3447, allocations: 29.64 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.3448, allocations: 104.2 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.3448, allocations: 19.84 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.3449, allocations: 29.7 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.345, allocations: 330.7 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.3451, allocations: 23.98 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3452, allocations: 68.27 kB / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3454, allocations: 96.19 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3454, allocations: 0 / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002847/0.3457, allocations: 137.5 kB / 1.218 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3457, allocations: 4 kB / 1.218 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3457, allocations: 4 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3458, allocations: 3.984 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3459, allocations: 12 kB / 1.218 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3459, allocations: 3.984 kB / 1.218 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.346, allocations: 15.95 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.346, allocations: 4 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001391/0.3461, allocations: 129.8 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.3461, allocations: 7.953 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.3462, allocations: 12.36 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3462, allocations: 0 / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3462, allocations: 0 / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3462, allocations: 4 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.3468, allocations: 434.2 kB / 1.219 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3468, allocations: 4 kB / 1.219 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.3469, allocations: 7.984 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3469, allocations: 0 / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3469, allocations: 0 / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3469, allocations: 3.984 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3469, allocations: 7.938 kB / 1.219 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.3474, allocations: 247.4 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.3474, allocations: 81.06 kB / 1.219 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.3475, allocations: 8 kB / 1.219 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3476, allocations: 7.984 kB / 1.219 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.3476, allocations: 7.922 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3476, allocations: 4 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.253e-05/0.3477, allocations: 106 kB / 1.219 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3477, allocations: 3.938 kB / 1.219 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003296/0.348, allocations: 39.92 kB / 1.219 GB, free: 10.32 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001118/0.3492, allocations: 0.8368 MB / 1.22 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.3495, allocations: 95.86 kB / 1.22 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3495, allocations: 0 / 1.22 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.3496, allocations: 51.84 kB / 1.22 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.35, allocations: 13.97 kB / 1.22 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.3521, allocations: 1.574 MB / 1.222 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.3524, allocations: 0.6923 MB / 1.223 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.3525, allocations: 7.859 kB / 1.223 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.3525, allocations: 27.42 kB / 1.223 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3525, allocations: 0 / 1.223 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3798, allocations: 3.028 MB / 1.226 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.505, allocations: 5.312 kB / 1.226 GB, free: 3.984 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 14.551332802977413]