Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7611 GB, free: 15.8 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 71.86 kB / 1.104 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9388/0.9407, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002465/0.9432, allocations: 1.511 MB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.9444, allocations: 0.7613 MB / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.9444, allocations: 0 / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.9445, allocations: 9.75 kB / 1.271 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.9445, allocations: 10.59 kB / 1.271 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.9451, allocations: 131.5 kB / 1.271 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.9452, allocations: 97.17 kB / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.9453, allocations: 12.3 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.9454, allocations: 34.06 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.9455, allocations: 48.22 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.9455, allocations: 11.81 kB / 1.271 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.9457, allocations: 105.9 kB / 1.271 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.9457, allocations: 16.77 kB / 1.271 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.9458, allocations: 45.47 kB / 1.271 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.9461, allocations: 146.4 kB / 1.272 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9461, allocations: 8.719 kB / 1.272 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9461, allocations: 0.75 kB / 1.272 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.9461, allocations: 0.6562 kB / 1.272 GB, free: 5.863 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.0005213/0.9466, allocations: 471.2 kB / 1.272 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.9466, allocations: 9.656 kB / 1.272 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.9467, allocations: 34.36 kB / 1.272 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.9467, allocations: 13.19 kB / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.9468, allocations: 170.1 kB / 1.272 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.9468, allocations: 12.98 kB / 1.272 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.9468, allocations: 5.5 kB / 1.272 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.9471, allocations: 93.08 kB / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9471, allocations: 0.875 kB / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.9471, allocations: 0.6094 kB / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9471, allocations: 5.719 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.9472, allocations: 49.86 kB / 1.272 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.9477, allocations: 326.8 kB / 1.273 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.9479, allocations: 60.7 kB / 1.273 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.948, allocations: 40.09 kB / 1.273 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.948, allocations: 1.406 kB / 1.273 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.9482, allocations: 92.33 kB / 1.273 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.9482, allocations: 0 / 1.273 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0004711/0.9487, allocations: 187.9 kB / 1.273 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.9487, allocations: 54.95 kB / 1.273 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.9488, allocations: 131.3 kB / 1.273 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.9488, allocations: 31.11 kB / 1.273 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.9488, allocations: 93.81 kB / 1.273 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.9488, allocations: 28.59 kB / 1.273 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.9489, allocations: 31.09 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.9489, allocations: 324.8 kB / 1.274 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.949, allocations: 29.23 kB / 1.274 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.9491, allocations: 80.19 kB / 1.274 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.9493, allocations: 102.5 kB / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9493, allocations: 4 kB / 1.274 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002345/0.9495, allocations: 136.1 kB / 1.274 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.9495, allocations: 5.781 kB / 1.274 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9495, allocations: 6.188 kB / 1.274 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.9495, allocations: 2.125 kB / 1.274 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.9496, allocations: 17.86 kB / 1.274 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.9496, allocations: 6.906 kB / 1.274 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.9497, allocations: 14.7 kB / 1.274 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.9497, allocations: 4.406 kB / 1.274 GB, free: 3.641 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 6.48e-05/0.9498, allocations: 134.8 kB / 1.274 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.9498, allocations: 9.609 kB / 1.274 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.9498, allocations: 9.906 kB / 1.274 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.9498, allocations: 1.938 kB / 1.274 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9498, allocations: 3.938 kB / 1.274 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9498, allocations: 4.453 kB / 1.274 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.9503, allocations: 426.4 kB / 1.275 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9503, allocations: 0 / 1.275 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.9503, allocations: 10.27 kB / 1.275 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9503, allocations: 0.7812 kB / 1.275 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.9503, allocations: 7.672 kB / 1.275 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9503, allocations: 1.125 kB / 1.275 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9503, allocations: 3.938 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.9507, allocations: 248.3 kB / 1.275 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.9507, allocations: 84.22 kB / 1.275 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.9507, allocations: 6.562 kB / 1.275 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.9508, allocations: 4.406 kB / 1.275 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.9509, allocations: 14.77 kB / 1.275 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.9509, allocations: 4.422 kB / 1.275 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.9509, allocations: 98.41 kB / 1.275 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9509, allocations: 4 kB / 1.275 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003482/0.9513, allocations: 46.19 kB / 1.275 GB, free: 2.742 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.0006951/0.952, allocations: 0.8453 MB / 1.276 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.9522, allocations: 89.72 kB / 1.276 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9522, allocations: 0 / 1.276 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.9523, allocations: 41.58 kB / 1.276 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.9526, allocations: 17.17 kB / 1.276 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.9541, allocations: 1.619 MB / 1.278 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.9545, allocations: 0.6902 MB / 1.278 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.058e-05/0.9545, allocations: 15.19 kB / 1.278 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.9546, allocations: 20.45 kB / 1.278 GB, free: 15.84 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.9546, allocations: 3.938 kB / 1.278 GB, free: 15.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.9805, allocations: 3.003 MB / 1.281 GB, free: 15.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/9.244, allocations: 15.8 kB / 1.281 GB, free: 15.32 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.389234351925552]