Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.0007919/0.0007919, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008932/0.0008932, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.895/0.895, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.629/1.629, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.228e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001677/0.00169, allocations: 1.509 MB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009021/0.002592, allocations: 0.7911 MB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.002642, allocations: 0 / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.002669, allocations: 7.922 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.002711, allocations: 11.86 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.003202, allocations: 159.3 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.0033, allocations: 75.7 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.407e-05/0.003374, allocations: 4 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.003495, allocations: 59.94 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.003543, allocations: 27.89 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.00356, allocations: 8 kB / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.003748, allocations: 139.7 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003767, allocations: 15.92 kB / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.003798, allocations: 19.98 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.003996, allocations: 179.4 kB / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003998, allocations: 0 / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003999, allocations: 3.938 kB / 0.9534 GB, free: 496 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.004002, allocations: 0 / 0.9534 GB, free: 496 kB / 0.9011 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.0004298/0.004432, allocations: 385.2 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004466, allocations: 12.03 kB / 0.9538 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.004493, allocations: 34.69 kB / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.004667, allocations: 28.86 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004806, allocations: 129.6 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.004826, allocations: 12.36 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.004837, allocations: 4.375 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.004963, allocations: 70.22 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.00497, allocations: 4.188 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.00498, allocations: 4.125 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.004984, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.005059, allocations: 39.97 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.005373, allocations: 259.9 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.005453, allocations: 46.5 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.005503, allocations: 36.95 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.005519, allocations: 4 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.005621, allocations: 79.31 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.005622, allocations: 0 / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002567/0.005879, allocations: 149.6 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.005909, allocations: 55.41 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.005978, allocations: 129.8 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.005989, allocations: 29.7 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.006028, allocations: 96.08 kB / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.006044, allocations: 23.89 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.006076, allocations: 25.72 kB / 0.955 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.006153, allocations: 322.8 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.006192, allocations: 19.98 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.006254, allocations: 69.06 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.006358, allocations: 93.02 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00636, allocations: 0 / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001305/0.006491, allocations: 113.5 kB / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.006502, allocations: 4 kB / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.006508, allocations: 4 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.006519, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.006572, allocations: 15.98 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.006577, allocations: 8.094 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.006612, allocations: 15.94 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.006622, allocations: 8 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,occ.y,bli.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 6.819e-05/0.00669, allocations: 125.7 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.0067, allocations: 4 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.006723, allocations: 12.38 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006725, allocations: 0 / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.006728, allocations: 0 / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.006732, allocations: 7.984 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.007033, allocations: 353.8 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007034, allocations: 0 / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.007052, allocations: 8 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.007054, allocations: 0 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.007063, allocations: 3.984 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007064, allocations: 80 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.007068, allocations: 11.92 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.007249, allocations: 219.3 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.007262, allocations: 11.95 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.007275, allocations: 4 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/0.00732, allocations: 4 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.007358, allocations: 3.984 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.007367, allocations: 7.984 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.007415, allocations: 106.2 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007415, allocations: 0 / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002227/0.007638, allocations: 35.94 kB / 0.9565 GB, free: 12.98 MB / 0.9167 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.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.0005577/0.008195, allocations: 0.8207 MB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.008347, allocations: 79.81 kB / 0.9574 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008349, allocations: 0 / 0.9574 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.008404, allocations: 31.98 kB / 0.9574 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.00859, allocations: 8.297 kB / 0.9574 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.009627, allocations: 1.526 MB / 0.9589 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.859e-05/0.009676, allocations: 73.58 kB / 0.959 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.009704, allocations: 8 kB / 0.959 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.009741, allocations: 24.48 kB / 0.959 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.009741, allocations: 0 / 0.959 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.02398, allocations: 3.515 MB / 0.9624 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.076, allocations: 8.422 kB / 0.9625 GB, free: 6.926 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.953749781474471]