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.001156/0.001156, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001123/0.001123, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] 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.446/2.446, allocations: 476.7 MB / 0.7628 GB, free: 15.2 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.001751/0.001751, allocations: 59.91 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8012/0.8029, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002367/0.8053, allocations: 1.532 MB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.8066, allocations: 0.7504 MB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.8067, allocations: 0.8125 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.8067, allocations: 10.08 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.8067, allocations: 23.12 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.8073, allocations: 134.8 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.8074, allocations: 86.11 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.8075, allocations: 12.3 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/0.8076, allocations: 47.92 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.8076, allocations: 38.73 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.8076, allocations: 7.469 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.8078, allocations: 109.7 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.8079, allocations: 24.42 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.8079, allocations: 37.17 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.8081, allocations: 155.8 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8081, allocations: 0 / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8081, allocations: 0.6562 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.8081, allocations: 0 / 1.274 GB, free: 5.871 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.0004844/0.8086, allocations: 467.5 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.8086, allocations: 9.125 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.8087, allocations: 35.7 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.8087, allocations: 16.92 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.963e-05/0.8088, allocations: 177.8 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.8088, allocations: 8.266 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.8088, allocations: 6.062 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.809, allocations: 89.05 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.809, allocations: 0 / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.809, allocations: 1.578 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.809, allocations: 1.75 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.8092, allocations: 50.23 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.8096, allocations: 321.8 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.8098, allocations: 59.83 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.8098, allocations: 40.86 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.8099, allocations: 3.953 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.81, allocations: 100.3 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.81, allocations: 4.781 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0004371/0.8105, allocations: 181.7 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.8105, allocations: 55.22 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.8106, allocations: 134.3 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.8106, allocations: 31.3 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.8106, allocations: 93.11 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.8107, allocations: 24.69 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.8107, allocations: 32.7 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.814e-05/0.8107, allocations: 327.7 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.8108, allocations: 27.66 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.8109, allocations: 81.42 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.8111, allocations: 106.7 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8111, allocations: 0.9688 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002366/0.8113, allocations: 138.3 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.8113, allocations: 5.594 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8113, allocations: 2 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8114, allocations: 1.938 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.453e-05/0.8114, allocations: 15.28 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8114, allocations: 6.719 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.8115, allocations: 11.08 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.8115, allocations: 8.906 kB / 1.277 GB, free: 3.652 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.354e-05/0.8116, allocations: 130 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.8116, allocations: 8.453 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.8116, allocations: 11.34 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8116, allocations: 4.734 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.8116, allocations: 4.812 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.8116, allocations: 0.7969 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.8121, allocations: 434.4 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8121, allocations: 1.312 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.8121, allocations: 4.953 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8121, allocations: 0 / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.8121, allocations: 4.828 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8121, allocations: 4.969 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8121, allocations: 15.88 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.8124, allocations: 240.6 kB / 1.278 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.8124, allocations: 83.94 kB / 1.278 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.8125, allocations: 6.875 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.8125, allocations: 4.875 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.8126, allocations: 14.36 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.8126, allocations: 5.781 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.8126, allocations: 99.88 kB / 1.278 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8126, allocations: 0 / 1.278 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002904/0.8129, allocations: 45.41 kB / 1.278 GB, free: 2.75 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.0006432/0.8136, allocations: 0.8478 MB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.8138, allocations: 92.62 kB / 1.279 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8138, allocations: 0.7812 kB / 1.279 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.8139, allocations: 41.47 kB / 1.279 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.0002583/0.8142, allocations: 19.41 kB / 1.279 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.8155, allocations: 1.604 MB / 1.28 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.8158, allocations: 0.6935 MB / 1.281 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.8159, allocations: 7.688 kB / 1.281 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.8159, allocations: 28.66 kB / 1.281 GB, free: 15.85 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.8159, allocations: 0 / 1.281 GB, free: 15.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.8398, allocations: 2.989 MB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.862, allocations: 5.047 kB / 1.284 GB, free: 15.32 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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] "" Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.H,bli.blindState,bli.occ,bli.pDown,bli.pUp,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 13.05267780900067]