Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009353/0.0009355, allocations: 91.92 kB / 16.02 MB, free: 80 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.00103/0.00103, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6134/0.6137, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001761/0.6155, allocations: 1.223 MB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.6169, allocations: 0.7365 MB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.617, allocations: 3.938 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.617, allocations: 7.938 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.6171, allocations: 11.88 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.6176, allocations: 107.8 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.6178, allocations: 83.77 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.6179, allocations: 15.98 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.618, allocations: 39.8 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.6181, allocations: 43.81 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.6181, allocations: 4 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.6183, allocations: 95.84 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.6184, allocations: 11.98 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.6184, allocations: 61.5 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.6186, allocations: 109.8 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6186, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6186, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.6186, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 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.0005977/0.6192, allocations: 454.5 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.6193, allocations: 8.031 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.6193, allocations: 8.844 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.6195, allocations: 184.2 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.6195, allocations: 384 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.6196, allocations: 12.38 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.6198, allocations: 97.88 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.6198, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.6198, allocations: 4 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.6198, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.62, allocations: 47.97 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.6206, allocations: 320.8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.6208, allocations: 70.58 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6209, allocations: 44.84 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.6209, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.6211, allocations: 103.3 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.6211, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005026/0.6217, allocations: 193.5 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.6217, allocations: 63.33 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.6218, allocations: 129.7 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.6218, allocations: 29.7 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.6219, allocations: 88.53 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.6219, allocations: 23.73 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.622, allocations: 25.7 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6221, allocations: 326.8 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.6222, allocations: 27.98 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.6223, allocations: 79.81 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.6225, allocations: 121.8 kB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6225, allocations: 0 / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00028/0.6228, allocations: 137.4 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6228, allocations: 8 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.6229, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6229, allocations: 4 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.623, allocations: 19.92 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.623, allocations: 16.09 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.6231, allocations: 19.83 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.6231, allocations: 4 kB / 1.029 GB, free: 10.42 MB / 0.7794 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 9.764e-05/0.6232, allocations: 127.8 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.6232, allocations: 7.906 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.6233, allocations: 4.375 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.6233, allocations: 7.984 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6233, allocations: 4 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6233, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.6238, allocations: 438.7 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6238, allocations: 0 / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.6239, allocations: 4 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6239, allocations: 96 / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6239, allocations: 15.92 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.6239, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6239, allocations: 3.938 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.6243, allocations: 255.3 kB / 1.03 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.6243, allocations: 88.95 kB / 1.03 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.6244, allocations: 4 kB / 1.03 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.6245, allocations: 7.984 kB / 1.03 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.6245, allocations: 7.938 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.6245, allocations: 11.98 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.6246, allocations: 94.89 kB / 1.03 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6246, allocations: 0 / 1.03 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003194/0.6249, allocations: 40 kB / 1.03 GB, free: 9.219 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: 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.0003646/0.6253, allocations: 173.7 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.6256, allocations: 95.86 kB / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.6256, allocations: 320 / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.6257, allocations: 63.86 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.626, allocations: 13.11 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.6265, allocations: 251 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.6267, allocations: 0.6965 MB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.6268, allocations: 11.44 kB / 1.031 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6268, allocations: 0 / 1.031 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of Templates: time 0.00371/0.6305, allocations: 1.762 MB / 1.033 GB, free: 6.113 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches