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: 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_latest_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_latest_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.001621/0.001621, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001939, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 60.66 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003095/0.317, allocations: 1.506 MB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3185, allocations: 0.7554 MB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.3186, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.3187, allocations: 11.86 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.3187, allocations: 7.875 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.3193, allocations: 127.6 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3194, allocations: 95.75 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3196, allocations: 15.98 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3197, allocations: 43.84 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.3198, allocations: 47.83 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3198, allocations: 8 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.32, allocations: 95.84 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.3201, allocations: 15.97 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.3201, allocations: 43.8 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.3204, allocations: 151.9 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3204, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3204, allocations: 4 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3204, allocations: 4 kB / 1.071 GB, free: 7.484 MB / 0.8262 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.0006644/0.3211, allocations: 460.2 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3212, allocations: 12.03 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.3212, allocations: 12.83 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3214, allocations: 176.2 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.3214, allocations: 4.375 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.3214, allocations: 4.375 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3217, allocations: 93.94 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3217, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3217, allocations: 4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3217, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.3219, allocations: 47.91 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.3225, allocations: 324.7 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3226, allocations: 66.62 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3228, allocations: 52.77 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3228, allocations: 4 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3231, allocations: 99.3 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.3231, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005146/0.3236, allocations: 189.5 kB / 1.073 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3237, allocations: 51.41 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3238, allocations: 133.2 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3238, allocations: 29.7 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.3239, allocations: 92.38 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3239, allocations: 15.8 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.324, allocations: 37.66 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3241, allocations: 326.8 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.3242, allocations: 31.97 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3243, allocations: 75.91 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3245, allocations: 105.9 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3246, allocations: 4 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002831/0.3248, allocations: 141.3 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3249, allocations: 8 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3249, allocations: 0 / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3249, allocations: 4 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.325, allocations: 16.08 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.325, allocations: 0 / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.3251, allocations: 11.91 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3251, allocations: 12.14 kB / 1.074 GB, free: 4.617 MB / 0.8262 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.0001057/0.3253, allocations: 133.7 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3253, allocations: 11.89 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.3253, allocations: 8.375 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3253, allocations: 0 / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3253, allocations: 0 / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3253, allocations: 0 / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.3259, allocations: 442.8 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3259, allocations: 0 / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.326, allocations: 7.984 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.326, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.326, allocations: 4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.326, allocations: 3.938 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.326, allocations: 3.938 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.3264, allocations: 251.3 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.3265, allocations: 85.02 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3265, allocations: 0 / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3266, allocations: 11.98 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.3267, allocations: 11.92 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3267, allocations: 4 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.008e-05/0.3268, allocations: 91.27 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3268, allocations: 0 / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000341/0.3271, allocations: 43.98 kB / 1.075 GB, free: 3.426 MB / 0.8262 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.0003765/0.3275, allocations: 174.6 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.3278, allocations: 95.83 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3279, allocations: 320 / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.328, allocations: 51.98 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3283, allocations: 12.48 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.3288, allocations: 208.1 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3291, allocations: 0.6885 MB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.306e-05/0.3292, allocations: 12.16 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.3292, allocations: 11.44 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3292, allocations: 0 / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of Templates: time 0.004635/0.3338, allocations: 1.706 MB / 1.078 GB, free: 456 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (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 & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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