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.001648/0.001647, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001891/0.001891, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.47 kB / 0.814 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.233, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002519/0.2356, allocations: 1.468 MB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006575/0.2362, allocations: 450.9 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.2363, allocations: 8 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.2363, allocations: 7.922 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.786e-05/0.2364, allocations: 3.938 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.2366, allocations: 23.91 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2367, allocations: 51.84 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.2368, allocations: 12 kB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.2369, allocations: 23.86 kB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.2369, allocations: 27.84 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.237, allocations: 4 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.237, allocations: 4 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.237, allocations: 11.98 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.2371, allocations: 27.8 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.2372, allocations: 39.83 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2372, allocations: 4 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2372, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2372, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7325 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.0004995/0.2377, allocations: 418.7 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2377, allocations: 8.031 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2378, allocations: 12.83 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2379, allocations: 172.2 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2379, allocations: 4.375 kB / 0.9538 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2379, allocations: 8.375 kB / 0.9538 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.2381, allocations: 53.98 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2381, allocations: 4 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2381, allocations: 8 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.2381, allocations: 0 / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2383, allocations: 31.97 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.2386, allocations: 280.8 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.2388, allocations: 38.5 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/0.2389, allocations: 36.92 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2389, allocations: 0 / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.239, allocations: 67.39 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.2391, allocations: 0 / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003418/0.2394, allocations: 117.5 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2395, allocations: 55.41 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.2395, allocations: 113.8 kB / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2396, allocations: 25.7 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.2396, allocations: 92.12 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.2396, allocations: 8.188 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.2397, allocations: 21.72 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2398, allocations: 322.8 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.2399, allocations: 19.98 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.2399, allocations: 52.22 kB / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2401, allocations: 72.22 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2401, allocations: 0 / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001881/0.2403, allocations: 93.47 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2403, allocations: 6.031 kB / 0.9553 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2403, allocations: 0 / 0.9553 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2403, allocations: 8.156 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.2404, allocations: 7.938 kB / 0.9553 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2404, allocations: 7.984 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.2405, allocations: 11.91 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2405, allocations: 7.984 kB / 0.9553 GB, free: 3.504 MB / 0.7325 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.104e-05/0.2406, allocations: 117.8 kB / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.2406, allocations: 0 / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.2407, allocations: 7.969 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2407, allocations: 7.984 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2407, allocations: 0 / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2407, allocations: 0 / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.2411, allocations: 350.4 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2411, allocations: 0 / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.2411, allocations: 4 kB / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2411, allocations: 0 / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2412, allocations: 320 / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2412, allocations: 8 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2412, allocations: 7.938 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.2414, allocations: 191.3 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.2415, allocations: 81.02 kB / 0.956 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.2415, allocations: 4 kB / 0.956 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.2416, allocations: 4 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.2416, allocations: 11.92 kB / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2416, allocations: 0 / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.2417, allocations: 95.2 kB / 0.9562 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2417, allocations: 0 / 0.9562 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002417/0.2419, allocations: 16 kB / 0.9562 GB, free: 2.508 MB / 0.7325 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.643e-05/0.242, allocations: 95.25 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.2422, allocations: 56.03 kB / 0.9563 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2422, allocations: 0 / 0.9563 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.2423, allocations: 27.97 kB / 0.9563 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.2426, allocations: 8.156 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.243, allocations: 155.7 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2432, allocations: 0.696 MB / 0.9572 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.2432, allocations: 4 kB / 0.9572 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.2433, allocations: 11.44 kB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.2433, allocations: 0 / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.002443/0.2457, allocations: 0.5685 MB / 0.9577 GB, free: 0.8477 MB / 0.7325 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 -s gbode -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