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.00156/0.00156, 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.001526/0.001527, 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.378/1.378, 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 12.0.0-master/package.mo): time 2.747/2.747, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 64.38 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7023/0.7042, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002438/0.7067, allocations: 1.497 MB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.7078, allocations: 0.7428 MB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.7078, allocations: 1.125 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.7079, allocations: 9.328 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.7079, allocations: 14.98 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.7085, allocations: 131.3 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.7086, allocations: 92.42 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.7087, allocations: 20.12 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.7088, allocations: 42.56 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.7089, allocations: 43.06 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.7089, allocations: 7.812 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.7091, allocations: 100.1 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.7092, allocations: 24.38 kB / 1.086 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.7092, allocations: 38.31 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.7095, allocations: 152.5 kB / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7095, allocations: 0 / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7095, allocations: 3.938 kB / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.984e-06/0.7095, allocations: 0 / 1.086 GB, free: 15.79 MB / 0.8419 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.000632/0.7102, allocations: 468.4 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.7102, allocations: 8.938 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.7102, allocations: 14.72 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.7104, allocations: 178.6 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.7104, allocations: 8.031 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.7105, allocations: 5.5 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.7107, allocations: 90.02 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.7107, allocations: 0 / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.7107, allocations: 5.75 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7107, allocations: 0.875 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.7109, allocations: 46.08 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.7114, allocations: 319.6 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.7116, allocations: 67.36 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.7117, allocations: 42.77 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.7118, allocations: 5.562 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.712, allocations: 92.62 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.712, allocations: 0 / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0005072/0.7125, allocations: 183.1 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.7126, allocations: 59.97 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.7127, allocations: 129.1 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.7127, allocations: 36.67 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.7128, allocations: 89.02 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.7128, allocations: 24.3 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.7129, allocations: 32.38 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.713, allocations: 327.4 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.7131, allocations: 32.7 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.7132, allocations: 77.5 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.7134, allocations: 111.3 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7134, allocations: 1.719 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002536/0.7137, allocations: 134 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.7137, allocations: 6.406 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7137, allocations: 1.125 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.7138, allocations: 2.375 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.7139, allocations: 22.44 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7139, allocations: 6.781 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.714, allocations: 18.91 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.714, allocations: 4.594 kB / 1.088 GB, free: 13.61 MB / 0.8419 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.0001109/0.7141, allocations: 123.8 kB / 1.088 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.7141, allocations: 8.891 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.7141, allocations: 15.55 kB / 1.088 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.7142, allocations: 4.969 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.7142, allocations: 0 / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7142, allocations: 1.984 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.7147, allocations: 428.5 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7148, allocations: 5.375 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.7148, allocations: 9.141 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.7148, allocations: 1.344 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.7148, allocations: 2.219 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7148, allocations: 6.375 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7149, allocations: 3.938 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.7152, allocations: 248.1 kB / 1.089 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.7153, allocations: 88.5 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.7153, allocations: 2.891 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.7154, allocations: 3.844 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.7155, allocations: 18.69 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.7155, allocations: 7.938 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.7155, allocations: 94.77 kB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7156, allocations: 0 / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003114/0.7159, allocations: 40.88 kB / 1.089 GB, free: 12.72 MB / 0.8419 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.0003349/0.7162, allocations: 156.5 kB / 1.089 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.7165, allocations: 98.36 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.7165, allocations: 3.938 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.7167, allocations: 49.47 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.7169, allocations: 13.05 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.7174, allocations: 245.1 kB / 1.09 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.7177, allocations: 0.6933 MB / 1.091 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.7177, allocations: 13.25 kB / 1.091 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.7178, allocations: 0 / 1.091 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.004788/0.7225, allocations: 1.8 MB / 1.092 GB, free: 11.47 MB / 0.8419 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=400 -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/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