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.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.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.01017/0.01017, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001979/0.001979, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.222/2.222, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.908/0.9092, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002408/0.9117, allocations: 1.461 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006775/0.9124, allocations: 450.6 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.9124, allocations: 0 / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.9125, allocations: 4.453 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.9125, allocations: 11.53 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.9127, allocations: 25.09 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.9128, allocations: 46.91 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.913, allocations: 15.22 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.9131, allocations: 33.38 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.9131, allocations: 18.77 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.9131, allocations: 3.219 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.9132, allocations: 3.969 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.9132, allocations: 13.77 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.9132, allocations: 23.58 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.9134, allocations: 45.8 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9134, allocations: 0 / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9134, allocations: 0.875 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.9134, allocations: 3.938 kB / 1.09 GB, free: 4.039 MB / 0.8575 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.0004724/0.9139, allocations: 416.8 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.9139, allocations: 9.156 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.9139, allocations: 4.141 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.874e-05/0.914, allocations: 172.9 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.9141, allocations: 2.359 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.9141, allocations: 3.062 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.9143, allocations: 62.62 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.9143, allocations: 4.844 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.9143, allocations: 0 / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.9143, allocations: 5 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.9144, allocations: 35.5 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.9148, allocations: 279.1 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.9149, allocations: 44.92 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/0.915, allocations: 26.73 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.9151, allocations: 6 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.9152, allocations: 68.77 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.9152, allocations: 0 / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003444/0.9156, allocations: 113.1 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.9156, allocations: 53.36 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.9157, allocations: 122.6 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.9157, allocations: 27.11 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.9157, allocations: 89.22 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.9157, allocations: 9.578 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.9158, allocations: 21.14 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.9158, allocations: 326.4 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.9159, allocations: 12.59 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.916, allocations: 54.83 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.9161, allocations: 73.27 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9161, allocations: 1.094 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001834/0.9163, allocations: 90.14 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9163, allocations: 5.75 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9163, allocations: 10.08 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.9164, allocations: 1.375 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.9164, allocations: 13.25 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9165, allocations: 1.531 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.9165, allocations: 5.141 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.9165, allocations: 3.219 kB / 1.092 GB, free: 2.078 MB / 0.8575 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 5.737e-05/0.9166, allocations: 119.1 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.9166, allocations: 6.078 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.9166, allocations: 14.59 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.9167, allocations: 0.7812 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9167, allocations: 0.6562 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9167, allocations: 0.8438 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.917, allocations: 347.4 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.917, allocations: 4.734 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.9171, allocations: 9.016 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9171, allocations: 1.484 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.9171, allocations: 5.125 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9171, allocations: 0.7969 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9171, allocations: 8.719 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.9173, allocations: 183.9 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.9174, allocations: 83.52 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.9174, allocations: 1.234 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.9175, allocations: 10.61 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.9175, allocations: 12.47 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.9175, allocations: 1.844 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.9176, allocations: 90 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9176, allocations: 0 / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000239/0.9178, allocations: 8.062 kB / 1.093 GB, free: 1.25 MB / 0.8575 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.214e-05/0.9179, allocations: 99.03 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.9181, allocations: 60.7 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9181, allocations: 0.875 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.9182, allocations: 25.89 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.9185, allocations: 10.98 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.9189, allocations: 169.3 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.919, allocations: 0.6885 MB / 1.094 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.919, allocations: 3.906 kB / 1.094 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.919, allocations: 10.34 kB / 1.094 GB, free: 300 kB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.9191, allocations: 0 / 1.094 GB, free: 300 kB / 0.8575 GB Notification: Performance of Templates: time 0.0026/0.9217, allocations: 0.5739 MB / 1.095 GB, free: 224 kB / 0.8575 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 -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/jenkins/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