Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.00476/0.00476, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001277/0.001277, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.533/2.533, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 64.12 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2711, allocations: 162.3 MB / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00242/0.2736, allocations: 1.497 MB / 1.243 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2748, allocations: 0.7478 MB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.2748, allocations: 0 / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.2748, allocations: 3.938 kB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.2749, allocations: 19.78 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.2754, allocations: 131.6 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.2755, allocations: 91.77 kB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.448e-05/0.2756, allocations: 11.98 kB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.2757, allocations: 43.83 kB / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.2758, allocations: 47.83 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2758, allocations: 8 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.276, allocations: 99.84 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.276, allocations: 19.97 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.2761, allocations: 43.8 kB / 1.245 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.2763, allocations: 151.5 kB / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2763, allocations: 0 / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2764, allocations: 0 / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2764, allocations: 0 / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006001/0.277, allocations: 470.2 kB / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.277, allocations: 8.031 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.2771, allocations: 42.69 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2771, allocations: 12.89 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2772, allocations: 179.9 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.2773, allocations: 8.359 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.2773, allocations: 8.375 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2775, allocations: 85.75 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2775, allocations: 0 / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2775, allocations: 4 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2775, allocations: 7.938 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.2777, allocations: 47.97 kB / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.2782, allocations: 316.7 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.2784, allocations: 70.58 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2785, allocations: 40.84 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2785, allocations: 7.984 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.2787, allocations: 95.36 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2788, allocations: 0 / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.000468/0.2792, allocations: 189.5 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.2793, allocations: 55.41 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2794, allocations: 125.8 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2794, allocations: 37.7 kB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.2795, allocations: 88.75 kB / 1.246 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.2795, allocations: 31.91 kB / 1.247 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.2796, allocations: 29.72 kB / 1.247 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2797, allocations: 326.8 kB / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.2798, allocations: 27.86 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2799, allocations: 85.98 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2801, allocations: 105.9 kB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2801, allocations: 0 / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000259/0.2804, allocations: 141.4 kB / 1.247 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2804, allocations: 4 kB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2804, allocations: 4 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2804, allocations: 0 / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.2805, allocations: 20.14 kB / 1.247 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2805, allocations: 8 kB / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.2806, allocations: 7.938 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2806, allocations: 4 kB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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 0.0001027/0.2807, allocations: 130.2 kB / 1.247 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.2808, allocations: 11.94 kB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.2808, allocations: 8.469 kB / 1.247 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2808, allocations: 7.984 kB / 1.247 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2808, allocations: 4 kB / 1.247 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2808, allocations: 0 / 1.247 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.2814, allocations: 430.3 kB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2814, allocations: 0 / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.2814, allocations: 7.984 kB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2814, allocations: 0 / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2814, allocations: 3.938 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2814, allocations: 0 / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2814, allocations: 3.938 kB / 1.248 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.2818, allocations: 251.4 kB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.2819, allocations: 89 kB / 1.248 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2819, allocations: 3.984 kB / 1.248 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.282, allocations: 4.188 kB / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.282, allocations: 11.92 kB / 1.248 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2821, allocations: 7.938 kB / 1.248 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.2821, allocations: 99.27 kB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.883e-06/0.2821, allocations: 0 / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002777/0.2824, allocations: 51.8 kB / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008583/0.2833, allocations: 0.8418 MB / 1.249 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.2835, allocations: 87.83 kB / 1.249 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2835, allocations: 0 / 1.249 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2837, allocations: 56 kB / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2839, allocations: 18.12 kB / 1.249 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2856, allocations: 1.593 MB / 1.251 GB, free: 112 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4453/0.7309, allocations: 0.6877 MB / 1.252 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.016e-05/0.731, allocations: 8.844 kB / 1.252 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.7311, allocations: 22.17 kB / 1.252 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.7311, allocations: 0.5938 kB / 1.252 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3873/1.118, allocations: 2.984 MB / 1.254 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/9.31, allocations: 6.812 kB / 1.254 GB, free: 13.82 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches