Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8689/0.8689, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.671/1.671, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_12_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_12_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.875e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001777/0.001795, allocations: 1.493 MB / 0.9824 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006284/0.002424, allocations: 498.6 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.00248, allocations: 4 kB / 0.9829 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.002509, allocations: 3.938 kB / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.002556, allocations: 7.875 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.00279, allocations: 35.89 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.002906, allocations: 51.78 kB / 0.983 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003007, allocations: 12 kB / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.003133, allocations: 43.83 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.003181, allocations: 11.98 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.003195, allocations: 4 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.00323, allocations: 8 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.003249, allocations: 19.91 kB / 0.9831 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.003283, allocations: 11.98 kB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003389, allocations: 55.8 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003391, allocations: 0 / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003392, allocations: 0 / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003396, allocations: 0 / 0.9831 GB, free: 364 kB / 0.9323 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.0003703/0.003766, allocations: 340.6 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.003801, allocations: 12.03 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.498e-05/0.003826, allocations: 30.75 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.003917, allocations: 16.83 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.004059, allocations: 129.7 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.004076, allocations: 384 / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.004086, allocations: 8.359 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.004202, allocations: 62.17 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004209, allocations: 4.188 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.004222, allocations: 5.062 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004227, allocations: 0 / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.004299, allocations: 35.97 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.004582, allocations: 243.9 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.753e-05/0.00465, allocations: 38.56 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.004693, allocations: 24.94 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.004712, allocations: 4 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.642e-05/0.004808, allocations: 79.25 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.004809, allocations: 0 / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0002183/0.005027, allocations: 109.6 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.005057, allocations: 55.41 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.005118, allocations: 117.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.005129, allocations: 25.7 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.005164, allocations: 92.14 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.005185, allocations: 19.88 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.005212, allocations: 21.72 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.00528, allocations: 314.8 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.005314, allocations: 19.98 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.005358, allocations: 48.22 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.048e-05/0.005438, allocations: 72.22 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.00544, allocations: 4 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001011/0.005541, allocations: 89.56 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005553, allocations: 11.92 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005557, allocations: 0 / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.005569, allocations: 4.156 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.005618, allocations: 11.94 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.005624, allocations: 4 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.00565, allocations: 11.92 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.005659, allocations: 4 kB / 0.9851 GB, free: 14.09 MB / 0.948 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.276e-05/0.005712, allocations: 113.8 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-06/0.005719, allocations: 7.891 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.005737, allocations: 16.06 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005738, allocations: 0 / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005742, allocations: 256 / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005745, allocations: 4 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.005972, allocations: 313.5 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005972, allocations: 0 / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.005989, allocations: 7.984 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.00599, allocations: 3.938 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.005996, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005997, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005997, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.006135, allocations: 199.3 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.006141, allocations: 4 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.006153, allocations: 3.984 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.006191, allocations: 4 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.006221, allocations: 3.984 kB / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.006227, allocations: 4 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.00626, allocations: 91.27 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00626, allocations: 0 / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001539/0.006414, allocations: 12 kB / 0.9858 GB, free: 13.25 MB / 0.948 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.000289/0.006703, allocations: 0.7285 MB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.006817, allocations: 47.91 kB / 0.9866 GB, free: 12.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.006818, allocations: 0 / 0.9866 GB, free: 12.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.006865, allocations: 27.97 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.007036, allocations: 4.312 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.007923, allocations: 1.409 MB / 0.988 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.244e-05/0.007966, allocations: 75.58 kB / 0.9881 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.007989, allocations: 7.984 kB / 0.9881 GB, free: 10.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.008024, allocations: 20.5 kB / 0.9881 GB, free: 10.77 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/0.008025, allocations: 0 / 0.9881 GB, free: 10.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.02419, allocations: 2.336 MB / 0.9904 GB, free: 8.613 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.384/6.408, allocations: 3.984 kB / 0.9904 GB, free: 8.609 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_12_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.263793595135212]