Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001925/0.001926, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.2 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 62.44 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2897, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002971/0.2928, allocations: 1.511 MB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2941, allocations: 0.7439 MB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.2941, allocations: 0 / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.2942, allocations: 7.922 kB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.2943, allocations: 23.8 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.295, allocations: 123.6 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.2951, allocations: 95.7 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2952, allocations: 11.98 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2953, allocations: 43.89 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.2954, allocations: 39.84 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2954, allocations: 12 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.2957, allocations: 99.84 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.2957, allocations: 23.91 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.2958, allocations: 43.78 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2961, allocations: 147.9 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2961, allocations: 4 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2961, allocations: 0 / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2961, allocations: 0 / 0.9531 GB, free: 5.941 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006429/0.2967, allocations: 458.5 kB / 0.9535 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2968, allocations: 12.02 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.2968, allocations: 8.844 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.297, allocations: 172.2 kB / 0.9537 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.297, allocations: 12.38 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.297, allocations: 8.312 kB / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.2972, allocations: 89.94 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2973, allocations: 4 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2973, allocations: 0 / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2973, allocations: 4 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.2975, allocations: 47.91 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.298, allocations: 332.6 kB / 0.9542 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2982, allocations: 62.56 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2983, allocations: 48.83 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2984, allocations: 4 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.2986, allocations: 99.33 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2986, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004951/0.2991, allocations: 185.5 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2992, allocations: 59.41 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2993, allocations: 129.8 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2993, allocations: 29.7 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.2994, allocations: 92.28 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.2994, allocations: 19.95 kB / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.2995, allocations: 37.64 kB / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2996, allocations: 322.8 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.2997, allocations: 31.97 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2998, allocations: 77.92 kB / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.3, allocations: 109.9 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3, allocations: 0 / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002542/0.3002, allocations: 129.4 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3003, allocations: 8.156 kB / 0.9556 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3003, allocations: 7.938 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.3003, allocations: 4 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.3004, allocations: 15.98 kB / 0.9556 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3004, allocations: 0 / 0.9556 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.3005, allocations: 15.91 kB / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3005, allocations: 4 kB / 0.9556 GB, free: 3.07 MB / 0.7325 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 0.0001005/0.3006, allocations: 141.9 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3007, allocations: 11.91 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.3007, allocations: 8.375 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.3007, allocations: 0 / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3007, allocations: 3.938 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3007, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.3012, allocations: 434.7 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3013, allocations: 0 / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.3013, allocations: 7.984 kB / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3013, allocations: 4 kB / 0.9562 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3013, allocations: 4 kB / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3013, allocations: 0 / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.3013, allocations: 3.938 kB / 0.9562 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3017, allocations: 247.3 kB / 0.9565 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.3017, allocations: 85.02 kB / 0.9565 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3018, allocations: 7.984 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.3019, allocations: 8 kB / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3019, allocations: 19.86 kB / 0.9566 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.302, allocations: 4 kB / 0.9566 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.302, allocations: 91.27 kB / 0.9567 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.302, allocations: 0 / 0.9567 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003206/0.3023, allocations: 43.98 kB / 0.9567 GB, free: 1.871 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: 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.0003419/0.3027, allocations: 164.4 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.303, allocations: 95.83 kB / 0.957 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.303, allocations: 0 / 0.957 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3031, allocations: 51.97 kB / 0.957 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.3034, allocations: 6.812 kB / 0.957 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.3039, allocations: 237.8 kB / 0.9572 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3041, allocations: 0.6963 MB / 0.9579 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3042, allocations: 15.44 kB / 0.9579 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.3042, allocations: 0 / 0.9579 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of Templates: time 0.003837/0.308, allocations: 1.788 MB / 0.9597 GB, free: 14.78 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches