Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, 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.001906/0.001906, allocations: 193.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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.45 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3068, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002698/0.3095, allocations: 1.493 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3107, allocations: 0.7438 MB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.3108, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.3109, allocations: 15.81 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.3109, allocations: 7.875 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.3114, allocations: 127.6 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.3115, allocations: 67.78 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.3116, allocations: 24.14 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.3117, allocations: 35.86 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.3118, allocations: 35.84 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3118, allocations: 4 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.312, allocations: 99.84 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.312, allocations: 19.97 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.3121, allocations: 31.8 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3123, allocations: 139.9 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3123, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3123, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3123, allocations: 0 / 1.071 GB, free: 7.586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006392/0.313, allocations: 450.6 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.313, allocations: 12.03 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.3131, allocations: 8.938 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3132, allocations: 176.2 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.3133, allocations: 384 / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3133, allocations: 4.375 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3135, allocations: 81.7 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3135, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3135, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3135, allocations: 4 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3137, allocations: 39.97 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.3142, allocations: 304.7 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3144, allocations: 54.5 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3145, allocations: 32.97 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3145, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.3147, allocations: 79.36 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.196e-06/0.3147, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004325/0.3152, allocations: 161.5 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.3152, allocations: 51.41 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3153, allocations: 125.8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3154, allocations: 33.7 kB / 1.073 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.3154, allocations: 88.14 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3155, allocations: 15.75 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.3155, allocations: 29.7 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3156, allocations: 326.8 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.3157, allocations: 19.98 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.3158, allocations: 61.14 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.316, allocations: 97 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.316, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002349/0.3162, allocations: 117.4 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3162, allocations: 7.938 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3163, allocations: 4 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3163, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.3164, allocations: 15.98 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3164, allocations: 4.156 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.3165, allocations: 7.906 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3165, allocations: 8 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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 9.943e-05/0.3166, allocations: 134.2 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.3166, allocations: 3.906 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.3166, allocations: 12.38 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3166, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3167, allocations: 4 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3167, allocations: 4 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.3171, allocations: 386.5 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3172, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.3172, allocations: 11.92 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3172, allocations: 3.938 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3172, allocations: 0 / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3172, allocations: 3.938 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3172, allocations: 4 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.3176, allocations: 211.4 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.3176, allocations: 89 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.3176, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.3178, allocations: 7.938 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3178, allocations: 7.984 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.3178, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.3179, allocations: 106.5 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3179, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003028/0.3182, allocations: 39.98 kB / 1.074 GB, free: 3.832 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003496/0.3185, allocations: 160.3 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.3188, allocations: 83.98 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3188, allocations: 0 / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.319, allocations: 35.97 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.3192, allocations: 8.625 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.3197, allocations: 192.5 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3199, allocations: 0.6933 MB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.3199, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.32, allocations: 15.44 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.32, allocations: 0 / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of Templates: time 0.004037/0.324, allocations: 1.504 MB / 1.077 GB, free: 1.141 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time