Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003368/0.0003368, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002714/0.0002714, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1478/0.1478, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 0.3379/0.3379, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 4.428e-06/4.428e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/4.11e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00112/0.001161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.000529/0.00169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.26e-05/0.001702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.001717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 2.449e-05/0.001742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.002055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 3.533e-05/0.002091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.866e-05/0.002119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.002148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 2.535e-05/0.002173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.002189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.002337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.002347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 9.097e-06/0.002356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.002479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.002485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.094e-06/0.002487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.444e-05/0.002502, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004526/0.002954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.00305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 7.595e-05/0.003126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.003156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.003177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.003288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.003293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.003306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-06/0.003308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.003323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.92e-05/0.003402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.003462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.003475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.755e-06/0.003478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.00353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.003532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=4): time 0.0001101/0.003642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.003666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.97e-05/0.003706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.003726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.225e-05/0.003738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.003755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.003775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.174e-05/0.003796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-06/0.003805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/0.003822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.003846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.003847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=7) (initialization): time 4.693e-05/0.003894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.003903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.003905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.003922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/0.003959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.003967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.003987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.003995, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.91e-05/0.004054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-06/0.004062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.004087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.004095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.899e-05/0.004177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.004179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.004186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.004188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.004215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.004216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.004217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 5.735e-05/0.004275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.004288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.004317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.00433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.004348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.004354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.082e-06/0.00436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.192e-06/0.004362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0001978/0.004559, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004012/0.004961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 8.117e-05/0.005042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.005043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.005059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.092e-05/0.00513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000147/0.005277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 1.422e-05/0.005292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 9.127e-06/0.005301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.005327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.062e-05/0.005338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0008926/0.00623, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:seed,t0,time,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 1.177092244848609]