Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.00145/0.001451, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 64.11 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7266, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002721/0.7293, allocations: 1.487 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.7307, allocations: 0.7206 MB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.7308, allocations: 4 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.7308, allocations: 3.938 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.7309, allocations: 11.86 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.7315, allocations: 115.6 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.7316, allocations: 75.72 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.7317, allocations: 19.92 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.09e-05/0.7318, allocations: 35.86 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.7319, allocations: 31.84 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.7319, allocations: 4 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.7321, allocations: 91.91 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.7322, allocations: 15.98 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.7322, allocations: 39.78 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.7325, allocations: 139.4 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7325, allocations: 0 / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7325, allocations: 4 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7325, allocations: 0 / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005868/0.7331, allocations: 440.5 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.7332, allocations: 12.03 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.7332, allocations: 4.844 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.7333, allocations: 176.2 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.7334, allocations: 12.36 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.7334, allocations: 8.359 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.7336, allocations: 77.91 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7336, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.7336, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.7336, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.7338, allocations: 35.97 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.7343, allocations: 296.8 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.7344, allocations: 54.48 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.7345, allocations: 32.91 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.7345, allocations: 8 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.7348, allocations: 75.38 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.7348, allocations: 0 / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004055/0.7352, allocations: 133.5 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.7352, allocations: 59.39 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.7353, allocations: 129.6 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.7354, allocations: 25.7 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.7354, allocations: 96.19 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.7354, allocations: 11.81 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.7355, allocations: 33.7 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7356, allocations: 322.8 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.7357, allocations: 19.98 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.7358, allocations: 61.12 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.736, allocations: 89.08 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.736, allocations: 0 / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002345/0.7362, allocations: 117.4 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7362, allocations: 5.875 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7363, allocations: 4 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.7363, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.7364, allocations: 19.92 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7364, allocations: 0 / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.7365, allocations: 11.92 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.7365, allocations: 4 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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 9.205e-05/0.7366, allocations: 129.9 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.7366, allocations: 11.84 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.7366, allocations: 4.375 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7366, allocations: 3.938 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7366, allocations: 0 / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7367, allocations: 3.984 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.7371, allocations: 378.5 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7371, allocations: 4 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.7372, allocations: 7.938 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7372, allocations: 0 / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.7372, allocations: 4 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7372, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.7372, allocations: 11.86 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.7375, allocations: 199.8 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.7376, allocations: 92.95 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.7376, allocations: 8.047 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.7377, allocations: 11.97 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.7377, allocations: 3.938 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.7378, allocations: 7.984 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.7378, allocations: 91.27 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7378, allocations: 0 / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000321/0.7381, allocations: 36 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003666/0.7385, allocations: 162.3 kB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.7388, allocations: 75.77 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7388, allocations: 0 / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.7389, allocations: 32.3 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.7392, allocations: 23.92 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.7396, allocations: 217.6 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.7398, allocations: 0.6923 MB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.7399, allocations: 15.44 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7399, allocations: 0 / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of Templates: time 0.003507/0.7434, allocations: 1.567 MB / 1.217 GB, free: 4.324 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches