Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004555/0.004555, allocations: 97.3 kB / 15.73 MB, free: 6.043 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.001288/0.001288, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2514, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002382/0.2538, allocations: 1.468 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000672/0.2545, allocations: 442.9 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.2546, allocations: 3.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.2546, allocations: 0 / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.2546, allocations: 11.88 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.2548, allocations: 27.91 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.2549, allocations: 51.8 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.255, allocations: 15.97 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/0.2551, allocations: 23.92 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.2552, allocations: 19.92 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2552, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.2552, allocations: 8 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.2552, allocations: 11.92 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.2553, allocations: 27.81 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/0.2554, allocations: 47.8 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2554, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2554, allocations: 3.938 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2554, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 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.0004711/0.2559, allocations: 410.7 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2559, allocations: 8.031 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.2559, allocations: 34.75 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.256, allocations: 8.891 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2561, allocations: 172.3 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2561, allocations: 384 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2561, allocations: 8.375 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2563, allocations: 61.73 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.2563, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2563, allocations: 4 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.2563, allocations: 3.938 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.2565, allocations: 39.97 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.2568, allocations: 284.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.257, allocations: 38.5 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.257, allocations: 28.94 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2571, allocations: 4 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.2572, allocations: 71.38 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.2572, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003167/0.2576, allocations: 109.6 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2576, allocations: 55.34 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.2577, allocations: 117.8 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2577, allocations: 29.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.2578, allocations: 92.08 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.2578, allocations: 7.953 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.2578, allocations: 21.72 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.258, allocations: 318.8 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.258, allocations: 20.36 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.2581, allocations: 48.28 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2583, allocations: 72.22 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2583, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001736/0.2584, allocations: 97.42 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2585, allocations: 5.719 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2585, allocations: 4 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.2585, allocations: 0 / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.636e-05/0.2586, allocations: 8.156 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.2586, allocations: 4 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.2586, allocations: 11.98 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2586, allocations: 4 kB / 1.224 GB, free: 9.703 MB / 0.9825 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 8.696e-05/0.2587, allocations: 126.2 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.2587, allocations: 7.953 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.2588, allocations: 3.969 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2588, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2588, allocations: 3.984 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2588, allocations: 4 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.2592, allocations: 350.4 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2592, allocations: 3.938 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.2592, allocations: 4.312 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2592, allocations: 0 / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2593, allocations: 4 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2593, allocations: 3.938 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2593, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.2595, allocations: 187.5 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.2596, allocations: 85.09 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.2596, allocations: 0 / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.2597, allocations: 7.938 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.2597, allocations: 7.984 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2597, allocations: 0 / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.2598, allocations: 99.2 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2598, allocations: 0 / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002253/0.26, allocations: 16.23 kB / 1.225 GB, free: 8.699 MB / 0.9825 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.0005258/0.2605, allocations: 0.7202 MB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.2607, allocations: 51.91 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2607, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.2608, allocations: 31.91 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.261, allocations: 11.94 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2624, allocations: 1.405 MB / 1.227 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.2627, allocations: 0.6807 MB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.2628, allocations: 8 kB / 1.228 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.2628, allocations: 19.42 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of SimCode: time 2.245e-06/0.2628, allocations: 0 / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.585/1.848, allocations: 1.63 MB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.922/10.77, allocations: 7.797 kB / 1.23 GB, free: 4.133 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches