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.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_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.00105/0.00105, 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.001294/0.001294, allocations: 193.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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.316/2.316, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 68.08 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6174, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003347/0.6208, allocations: 1.516 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.6224, allocations: 0.7401 MB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.6225, allocations: 0 / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.6225, allocations: 11.86 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.6227, allocations: 11.88 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.6234, allocations: 131.5 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.6236, allocations: 91.81 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.6237, allocations: 8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.6238, allocations: 47.78 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.6239, allocations: 51.81 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.624, allocations: 8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.6242, allocations: 99.84 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.6242, allocations: 15.98 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.6243, allocations: 43.78 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.6246, allocations: 149.9 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6246, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6246, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.6246, allocations: 0 / 1.02 GB, free: 15.55 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.0006956/0.6253, allocations: 472.2 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6254, allocations: 8.031 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.6254, allocations: 38.75 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.6255, allocations: 8.844 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.6256, allocations: 176.2 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.6257, allocations: 12.25 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.6257, allocations: 8.375 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.6259, allocations: 85.75 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.626, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.626, allocations: 12 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.626, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.6262, allocations: 43.97 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.6268, allocations: 320.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.627, allocations: 70.55 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.6271, allocations: 40.84 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.6271, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.6274, allocations: 99.38 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.6274, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004995/0.6279, allocations: 193.5 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.6279, allocations: 55.41 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.628, allocations: 123 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.6281, allocations: 33.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.6281, allocations: 92.28 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.6282, allocations: 23.73 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.6282, allocations: 29.72 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6284, allocations: 326.8 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.6285, allocations: 23.98 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.6286, allocations: 80.47 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.6288, allocations: 109.9 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6288, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002627/0.6291, allocations: 133.5 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6291, allocations: 15.91 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6291, allocations: 4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.6291, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.6292, allocations: 15.94 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6293, allocations: 7.984 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.6293, allocations: 15.84 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.6294, allocations: 4 kB / 1.023 GB, free: 12.63 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 0.0001174/0.6295, allocations: 135.5 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.6295, allocations: 7.906 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.6295, allocations: 12.36 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6296, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6296, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6296, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.6301, allocations: 430.5 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6301, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.6302, allocations: 11.98 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6302, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6302, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6302, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6302, allocations: 3.938 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.6306, allocations: 251.3 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.6307, allocations: 88.95 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.6307, allocations: 3.984 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.6308, allocations: 12 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.6308, allocations: 15.92 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.6309, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.6309, allocations: 99.14 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6309, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003303/0.6313, allocations: 44.17 kB / 1.024 GB, free: 11.44 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.0008593/0.6321, allocations: 0.8466 MB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.6324, allocations: 92.14 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6324, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.6326, allocations: 47.91 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.6328, allocations: 20.2 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.6345, allocations: 1.587 MB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.6348, allocations: 0.6885 MB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.258e-05/0.6348, allocations: 8 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.6349, allocations: 23.42 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6349, allocations: 0 / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.6545, allocations: 2.937 MB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.968, allocations: 14.44 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > 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