Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0003042/0.0003042, 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.000347/0.000347, 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.1347/0.1347, 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.3144/0.3144, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 4.077e-06/4.077e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.904e-05/4.312e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001516/0.001559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001852/0.003411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.003457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 7.478e-05/0.003532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 2.864e-05/0.00356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.004029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001413/0.00417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.004266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.004387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.004475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.004502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.004568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.004623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.004668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.00481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.004822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.567e-06/0.004826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.035e-05/0.004836, 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006687/0.005505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001029/0.005608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.00569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.005888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.005945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.005991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.006122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.006131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.006148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-06/0.00615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.006171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.00646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 4.531e-05/0.006506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.006526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.198e-06/0.00653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.006666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=3): time 5.681e-06/0.006672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=3): time 0.0001923/0.006864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.006897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.434e-05/0.006941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.00699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.007042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.007053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.007129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.741e-05/0.007157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.007211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.007256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 7.472e-05/0.007331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001922/0.007525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.007575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.007585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.007612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-05/0.007636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.007644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.007773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.007817, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001659/0.007983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.008065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.00807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.008082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.008088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.008209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.008211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.008224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.008228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.008239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.008242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.008245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.008385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.008418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.008467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.008487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.008528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.008539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.121e-05/0.00856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.084e-06/0.008562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000344/0.008906, 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,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002792/0.009186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002076/0.009393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.009397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.009414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.009649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.01001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.01004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 2.695e-05/0.01006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.587e-05/0.01026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001225/0.01149, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.3769255238585174]