Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.001507/0.001507, 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.001772/0.001772, allocations: 194.3 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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.293/2.293, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6531, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002576/0.6557, allocations: 1.464 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007002/0.6564, allocations: 462.9 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.6565, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.6565, allocations: 3.938 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.6566, allocations: 3.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.6568, allocations: 23.91 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.6568, allocations: 59.78 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.6569, allocations: 8 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.657, allocations: 27.86 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.6571, allocations: 19.92 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.6571, allocations: 4 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.6571, allocations: 4 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.6572, allocations: 11.97 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.6572, allocations: 27.86 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.6573, allocations: 46.08 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6573, allocations: 0 / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6573, allocations: 0 / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.6573, allocations: 0 / 1.02 GB, free: 300 kB / 0.7637 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.0005349/0.6579, allocations: 410.7 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.6579, allocations: 15.95 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.658, allocations: 34.75 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.658, allocations: 4.844 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6581, allocations: 176.2 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.6581, allocations: 8.312 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.6582, allocations: 4.375 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.6583, allocations: 65.78 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.6583, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.6584, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.6584, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.6585, allocations: 31.97 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.6589, allocations: 280.9 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.659, allocations: 46.48 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.196e-05/0.6591, allocations: 28.94 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.6591, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.6593, allocations: 67.39 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.6593, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003423/0.6596, allocations: 113.5 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.6597, allocations: 51.41 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.6598, allocations: 121.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.6598, allocations: 25.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.6599, allocations: 88.14 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.6599, allocations: 19.75 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.6599, allocations: 21.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.66, allocations: 322.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.6601, allocations: 12.23 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.6602, allocations: 56.28 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.6603, allocations: 72.14 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6603, allocations: 384 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001843/0.6605, allocations: 93.55 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6606, allocations: 10.19 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6606, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6606, allocations: 3.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.6607, allocations: 11.98 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.6607, allocations: 3.938 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.6607, allocations: 8.062 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.6608, allocations: 8 kB / 1.022 GB, free: 13.85 MB / 0.7794 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.364e-05/0.6608, allocations: 117.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.6609, allocations: 7.984 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.6609, allocations: 7.969 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6609, allocations: 3.984 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6609, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.6609, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.6613, allocations: 346.4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6613, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.6614, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6614, allocations: 3.984 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.6614, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6614, allocations: 3.938 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6614, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.6617, allocations: 187.4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.6617, allocations: 81.02 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.6617, allocations: 3.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6619, allocations: 12.05 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.6619, allocations: 12 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.6619, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.662, allocations: 91.27 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.662, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002239/0.6622, allocations: 12 kB / 1.022 GB, free: 12.86 MB / 0.7794 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.0004875/0.6627, allocations: 0.7128 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.6629, allocations: 55.91 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6629, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.663, allocations: 39.86 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.6633, allocations: 11.86 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.6647, allocations: 1.394 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.6649, allocations: 0.6807 MB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.665, allocations: 4 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.665, allocations: 19.42 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.665, allocations: 0 / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.6847, allocations: 1.593 MB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.878, allocations: 7.812 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches