Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005916/0.005916, allocations: 100.5 kB / 15.87 MB, free: 5.863 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.001471/0.001471, allocations: 188.9 kB / 16.79 MB, free: 5.805 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7395, allocations: 140.3 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003111/0.7426, allocations: 1.543 MB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000758/0.7434, allocations: 444.7 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.7435, allocations: 3.938 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.7435, allocations: 0.7812 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.7436, allocations: 9.047 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.7438, allocations: 28.61 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.7439, allocations: 52.28 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.744, allocations: 9.125 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.7442, allocations: 17.02 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.7442, allocations: 21.88 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.7443, allocations: 2.5 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.7443, allocations: 2.719 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.7443, allocations: 9.297 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.7444, allocations: 30.89 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.7445, allocations: 22.41 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7445, allocations: 3.984 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7445, allocations: 1.312 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7445, allocations: 0 / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005297/0.745, allocations: 411 kB / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7451, allocations: 9.688 kB / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.7452, allocations: 6.156 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.8e-05/0.7453, allocations: 176.2 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.7453, allocations: 9.625 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.7453, allocations: 2.938 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.7455, allocations: 65.56 kB / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.7456, allocations: 1.062 kB / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.7456, allocations: 0 / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.7456, allocations: 1.438 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.7458, allocations: 39.06 kB / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.7462, allocations: 284.5 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.7463, allocations: 40.48 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.7465, allocations: 25.59 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.7465, allocations: 1.312 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.7467, allocations: 71.42 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 2.364e-06/0.7467, allocations: 0 / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0004348/0.7472, allocations: 117.6 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.7472, allocations: 51.41 kB / 0.953 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.7473, allocations: 115 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.7473, allocations: 35.08 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.7474, allocations: 85.52 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.7474, allocations: 10.59 kB / 0.9532 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.7475, allocations: 23.14 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.7475, allocations: 320.1 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.7476, allocations: 18.27 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.7477, allocations: 48.47 kB / 0.9536 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.7479, allocations: 72.55 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.7479, allocations: 4 kB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002321/0.7481, allocations: 88.48 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7482, allocations: 6.688 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7482, allocations: 1.312 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7482, allocations: 1.156 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.7483, allocations: 14.45 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.7483, allocations: 2.25 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.7484, allocations: 8 kB / 0.9538 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.7484, allocations: 6.406 kB / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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.739e-05/0.7485, allocations: 117.7 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.7485, allocations: 10.73 kB / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.7486, allocations: 9.281 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7486, allocations: 1.406 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7486, allocations: 0 / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.7486, allocations: 3.938 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.7491, allocations: 351.2 kB / 0.9542 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7491, allocations: 1.094 kB / 0.9542 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.7491, allocations: 6.828 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.7491, allocations: 0.9062 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.7492, allocations: 1.375 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7492, allocations: 0 / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7492, allocations: 3.938 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.7495, allocations: 189.1 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.7495, allocations: 90.88 kB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.7495, allocations: 5.594 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.7496, allocations: 7.234 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.7497, allocations: 6.375 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.7497, allocations: 1.25 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.7498, allocations: 95.77 kB / 0.9546 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7498, allocations: 0 / 0.9546 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003861/0.7502, allocations: 8.75 kB / 0.9546 GB, free: 4.559 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.021e-05/0.7503, allocations: 100.3 kB / 0.9547 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.7505, allocations: 55.8 kB / 0.9548 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7505, allocations: 0 / 0.9548 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.7507, allocations: 29.27 kB / 0.9548 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.751, allocations: 10 kB / 0.9548 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.7515, allocations: 200.8 kB / 0.955 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.7516, allocations: 0.6864 MB / 0.9557 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.7517, allocations: 8.844 kB / 0.9557 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.7517, allocations: 1.125 kB / 0.9557 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.002817/0.7545, allocations: 0.7446 MB / 0.9564 GB, free: 3.156 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches