Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.001362/0.001362, allocations: 99.78 kB / 16.4 MB, free: 6.5 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.001323/0.001323, allocations: 195.7 kB / 19.36 MB, free: 3.73 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.446/1.446, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.591/2.591, allocations: 437.1 MB / 0.7171 GB, free: 4.078 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.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.88 kB / 1.027 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9777/0.9796, allocations: 151.6 MB / 1.175 GB, free: 17.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002439/0.9821, allocations: 1.511 MB / 1.176 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.9832, allocations: 0.7418 MB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.9833, allocations: 1.125 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.9834, allocations: 4.734 kB / 1.177 GB, free: 15.85 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.921e-05/0.9834, allocations: 16.08 kB / 1.177 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.984, allocations: 126.8 kB / 1.177 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.9841, allocations: 96.12 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.9842, allocations: 14.09 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.9843, allocations: 38.95 kB / 1.177 GB, free: 15.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.9844, allocations: 48.06 kB / 1.177 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.9844, allocations: 11.88 kB / 1.177 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.9846, allocations: 95.69 kB / 1.177 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.9846, allocations: 20.95 kB / 1.177 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.9847, allocations: 41.77 kB / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.9849, allocations: 149.7 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.985, allocations: 2.297 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.492e-06/0.985, allocations: 0 / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.985, allocations: 4 kB / 1.177 GB, free: 15.56 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00053/0.9855, allocations: 469.2 kB / 1.178 GB, free: 15.1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.9856, allocations: 10.34 kB / 1.178 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.9856, allocations: 37.62 kB / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.9856, allocations: 9.797 kB / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.118e-05/0.9857, allocations: 183.1 kB / 1.178 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.9858, allocations: 7.969 kB / 1.178 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.9858, allocations: 5.844 kB / 1.178 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.986, allocations: 97.92 kB / 1.178 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.986, allocations: 0 / 1.178 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.9861, allocations: 5.641 kB / 1.178 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.9861, allocations: 1.531 kB / 1.178 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.9862, allocations: 44.08 kB / 1.178 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.9867, allocations: 324.1 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.9869, allocations: 72.25 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.987, allocations: 41.91 kB / 1.179 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.987, allocations: 1.609 kB / 1.179 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.9872, allocations: 96.06 kB / 1.179 GB, free: 14.33 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.9872, allocations: 4 kB / 1.179 GB, free: 14.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.000478/0.9877, allocations: 188 kB / 1.179 GB, free: 14.24 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.9878, allocations: 56 kB / 1.179 GB, free: 14.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.9879, allocations: 131.1 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.9879, allocations: 31.83 kB / 1.179 GB, free: 14.03 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.9879, allocations: 93.47 kB / 1.179 GB, free: 13.94 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.9879, allocations: 21.09 kB / 1.179 GB, free: 13.92 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.988, allocations: 38.44 kB / 1.179 GB, free: 13.89 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.9881, allocations: 325.1 kB / 1.18 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.9882, allocations: 28.17 kB / 1.18 GB, free: 13.56 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.9883, allocations: 76.92 kB / 1.18 GB, free: 13.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.9884, allocations: 108 kB / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9884, allocations: 0 / 1.18 GB, free: 13.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002426/0.9887, allocations: 137.9 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.9887, allocations: 5.75 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.9887, allocations: 6.125 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.9887, allocations: 2.406 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.9889, allocations: 15.64 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.9889, allocations: 6.438 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.989, allocations: 13.44 kB / 1.18 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.989, allocations: 5.391 kB / 1.18 GB, free: 13.33 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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 7.507e-05/0.9891, allocations: 136 kB / 1.18 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.9891, allocations: 8.422 kB / 1.18 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.9891, allocations: 7.969 kB / 1.18 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.9891, allocations: 1.125 kB / 1.18 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9891, allocations: 0 / 1.18 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9891, allocations: 0.7031 kB / 1.18 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.9896, allocations: 442.3 kB / 1.181 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9896, allocations: 0.6094 kB / 1.181 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.9897, allocations: 5.344 kB / 1.181 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9897, allocations: 4.969 kB / 1.181 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.9897, allocations: 3.172 kB / 1.181 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9897, allocations: 1.938 kB / 1.181 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.9897, allocations: 3.938 kB / 1.181 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.99, allocations: 253.1 kB / 1.181 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.9901, allocations: 83.17 kB / 1.181 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.9901, allocations: 5.953 kB / 1.181 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.9902, allocations: 9.453 kB / 1.181 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.9903, allocations: 10.19 kB / 1.181 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.9903, allocations: 4.719 kB / 1.181 GB, free: 12.53 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.9903, allocations: 94.62 kB / 1.181 GB, free: 12.45 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9903, allocations: 1.312 kB / 1.181 GB, free: 12.45 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003314/0.9907, allocations: 44.27 kB / 1.181 GB, free: 12.44 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006992/0.9914, allocations: 0.8569 MB / 1.182 GB, free: 11.71 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.9916, allocations: 96.56 kB / 1.182 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.9917, allocations: 0 / 1.182 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.9918, allocations: 44.97 kB / 1.182 GB, free: 11.67 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.9921, allocations: 18.44 kB / 1.182 GB, free: 11.66 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.9935, allocations: 1.601 MB / 1.184 GB, free: 10.25 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.9937, allocations: 0.6942 MB / 1.184 GB, free: 9.551 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.9937, allocations: 5.938 kB / 1.184 GB, free: 9.551 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.9937, allocations: 25.48 kB / 1.184 GB, free: 9.531 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.9938, allocations: 0 / 1.184 GB, free: 9.531 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/1.02, allocations: 2.996 MB / 1.187 GB, free: 9.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/9.186, allocations: 11.81 kB / 1.187 GB, free: 9.012 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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: 15.068025924963877]