Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00418/0.00418, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 199.8 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.44/2.44, allocations: 482.6 MB / 0.7551 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 66.3 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2543, allocations: 162.3 MB / 1.242 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002235/0.2566, allocations: 1.497 MB / 1.243 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2577, allocations: 0.7454 MB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.2578, allocations: 4 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.2578, allocations: 11.86 kB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.2579, allocations: 7.875 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.2583, allocations: 131.6 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.2585, allocations: 91.7 kB / 1.244 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.181e-05/0.2585, allocations: 19.95 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.2586, allocations: 35.92 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.2587, allocations: 47.81 kB / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.2587, allocations: 8 kB / 1.244 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.2589, allocations: 95.84 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.2589, allocations: 27.92 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.259, allocations: 35.8 kB / 1.245 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.2592, allocations: 155.8 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2592, allocations: 7.922 kB / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2592, allocations: 0 / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2593, allocations: 3.938 kB / 1.245 GB, free: 6.012 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005517/0.2598, allocations: 462.3 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2598, allocations: 12.03 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.2599, allocations: 34.75 kB / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.2599, allocations: 8.891 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.26, allocations: 180.3 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2601, allocations: 8.312 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.2601, allocations: 4.375 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.2603, allocations: 101.7 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2603, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2603, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2603, allocations: 4 kB / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2605, allocations: 47.97 kB / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.261, allocations: 320.7 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.2611, allocations: 70.58 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.2612, allocations: 44.83 kB / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2613, allocations: 4.156 kB / 1.246 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.2615, allocations: 95.34 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.2615, allocations: 0 / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004452/0.2619, allocations: 189.5 kB / 1.246 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.262, allocations: 55.34 kB / 1.246 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.2621, allocations: 129.8 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.2621, allocations: 34.08 kB / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.2622, allocations: 92.38 kB / 1.246 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.2622, allocations: 19.83 kB / 1.247 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.2622, allocations: 29.72 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2624, allocations: 330.7 kB / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.2625, allocations: 23.98 kB / 1.247 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2626, allocations: 77.98 kB / 1.247 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.2628, allocations: 113.9 kB / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2628, allocations: 0 / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000247/0.263, allocations: 137.5 kB / 1.247 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.263, allocations: 8 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.263, allocations: 0 / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2631, allocations: 4 kB / 1.247 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.2631, allocations: 24.08 kB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2632, allocations: 0 / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.2632, allocations: 15.94 kB / 1.247 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2632, allocations: 4 kB / 1.247 GB, free: 3.09 MB / 0.9669 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 8.935e-05/0.2633, allocations: 126.3 kB / 1.247 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.2634, allocations: 7.938 kB / 1.247 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.2634, allocations: 8.375 kB / 1.247 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2634, allocations: 3.938 kB / 1.247 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2634, allocations: 4 kB / 1.247 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2634, allocations: 0 / 1.247 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.2639, allocations: 442.2 kB / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2639, allocations: 0 / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.264, allocations: 7.984 kB / 1.248 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.264, allocations: 0 / 1.248 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.264, allocations: 4 kB / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.264, allocations: 0 / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.264, allocations: 7.938 kB / 1.248 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.2644, allocations: 247.4 kB / 1.248 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.2644, allocations: 89 kB / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2644, allocations: 192 / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.2645, allocations: 11.98 kB / 1.248 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.2646, allocations: 15.88 kB / 1.248 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.2646, allocations: 7.984 kB / 1.248 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.2647, allocations: 95.27 kB / 1.248 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2647, allocations: 0 / 1.248 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002657/0.2649, allocations: 43.92 kB / 1.248 GB, free: 1.891 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: 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.0008096/0.2658, allocations: 0.8444 MB / 1.249 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.266, allocations: 91.83 kB / 1.249 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.266, allocations: 0 / 1.249 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.2661, allocations: 44.02 kB / 1.249 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.2664, allocations: 24.42 kB / 1.249 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.268, allocations: 1.61 MB / 1.251 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2683, allocations: 0.6963 MB / 1.252 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.2683, allocations: 7.984 kB / 1.252 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.2684, allocations: 23.42 kB / 1.252 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2684, allocations: 0 / 1.252 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.202/1.47, allocations: 2.975 MB / 1.254 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.51, allocations: 12.27 kB / 1.254 GB, free: 11.59 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches