Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_latest_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_latest_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.001389/0.001389, allocations: 108 kB / 15.61 MB, free: 152 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.001498/0.001498, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.52 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3172, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002564/0.3198, allocations: 1.464 MB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006397/0.3204, allocations: 454.9 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.3205, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.3205, allocations: 3.938 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.925e-05/0.3206, allocations: 19.86 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.3208, allocations: 23.92 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.3209, allocations: 51.78 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.321, allocations: 11.98 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.3211, allocations: 23.92 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.3211, allocations: 15.92 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3212, allocations: 4 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.3212, allocations: 8 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.3212, allocations: 15.92 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.3213, allocations: 19.92 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.827e-05/0.3214, allocations: 44.09 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3214, allocations: 3.938 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3214, allocations: 0 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3214, allocations: 0 / 1.07 GB, free: 8.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004985/0.3219, allocations: 414.7 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3219, allocations: 16.03 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.322, allocations: 0.9375 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3221, allocations: 176.2 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3221, allocations: 384 / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3221, allocations: 8.375 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3223, allocations: 57.98 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3223, allocations: 0 / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.3223, allocations: 4 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3224, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.3225, allocations: 35.97 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.3229, allocations: 292.7 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.323, allocations: 38.56 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.3231, allocations: 28.94 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3231, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3232, allocations: 71.38 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3233, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0003213/0.3236, allocations: 109.6 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3236, allocations: 55.41 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.3237, allocations: 117.8 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.3237, allocations: 25.7 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.3238, allocations: 88.05 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.3238, allocations: 11.89 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3239, allocations: 25.66 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.324, allocations: 322.8 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.324, allocations: 12.38 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.3241, allocations: 52.52 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3243, allocations: 76.16 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3243, allocations: 4 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001787/0.3245, allocations: 89.45 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3245, allocations: 8 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3245, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3245, allocations: 7.969 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.3246, allocations: 16.09 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3246, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.3247, allocations: 8 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3247, allocations: 7.984 kB / 1.072 GB, free: 5.848 MB / 0.8262 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 7.309e-05/0.3248, allocations: 119.3 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.3248, allocations: 7.906 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.3248, allocations: 3.969 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3248, allocations: 0 / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3248, allocations: 0 / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3248, allocations: 8 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.3252, allocations: 346.4 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3252, allocations: 0 / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3253, allocations: 7.984 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3253, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3253, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3253, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3253, allocations: 7.938 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.3255, allocations: 191.4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.3256, allocations: 77.11 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3256, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.3257, allocations: 7.984 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.3257, allocations: 7.938 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3257, allocations: 8.109 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.3258, allocations: 87.28 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3258, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002326/0.326, allocations: 12.28 kB / 1.073 GB, free: 4.871 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: 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 0.0001021/0.3261, allocations: 111.7 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.3263, allocations: 52.16 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3264, allocations: 8 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3265, allocations: 35.91 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3267, allocations: 7.984 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.3271, allocations: 163.6 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3273, allocations: 0.6846 MB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.3273, allocations: 4 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.3274, allocations: 11.42 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.3274, allocations: 0 / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.002365/0.3297, allocations: 0.5741 MB / 1.075 GB, free: 3.18 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches