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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008855/0.0008855, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [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.001032/0.001032, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [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.9359/0.9359, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643/1.643, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.688e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001463/0.00148, allocations: 1.228 MB / 0.9517 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005557/0.002035, allocations: 370.8 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.002061, allocations: 0 / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.002079, allocations: 0 / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.103e-05/0.00211, allocations: 3.938 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.00258, allocations: 99.52 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.002642, allocations: 19.92 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.002674, allocations: 0 / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.002706, allocations: 19.97 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.291e-05/0.002729, allocations: 3.984 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.002741, allocations: 0 / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.002919, allocations: 127.7 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.002933, allocations: 7.984 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.002954, allocations: 4 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003099, allocations: 99.67 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003101, allocations: 3.938 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003101, allocations: 0 / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003105, allocations: 0 / 0.9524 GB, free: 1.539 MB / 0.9011 GB 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.0003599/0.003465, allocations: 299.9 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.0035, allocations: 8.031 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.003554, allocations: 38.69 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.003577, allocations: 0.9375 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.678e-05/0.003643, allocations: 109.8 kB / 0.9528 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.003661, allocations: 4.375 kB / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.00367, allocations: 4.375 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.197e-05/0.003752, allocations: 42.17 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.003759, allocations: 192 / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.003766, allocations: 4.375 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.003772, allocations: 8.125 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.003794, allocations: 11.98 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.004023, allocations: 208 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.004094, allocations: 35.17 kB / 0.9531 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.004123, allocations: 16.8 kB / 0.9531 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.004132, allocations: 4 kB / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.884e-05/0.004231, allocations: 63.42 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.004232, allocations: 0 / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001583/0.00439, allocations: 81.61 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.00442, allocations: 51.41 kB / 0.9533 GB, free: 416 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.427e-05/0.004464, allocations: 97.8 kB / 0.9534 GB, free: 308 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.004474, allocations: 29.7 kB / 0.9535 GB, free: 272 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/0.004497, allocations: 84.14 kB / 0.9535 GB, free: 184 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.00451, allocations: 7.906 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.004538, allocations: 29.7 kB / 0.9536 GB, free: 140 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.004617, allocations: 310.8 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.004636, allocations: 15.98 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.004662, allocations: 31.44 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.004748, allocations: 67.48 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00475, allocations: 0 / 0.954 GB, free: 15.69 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ -1.0 , 1.0 ; 1.0 , -1.0 ] * [ $outputAlias_y ; $PRE.$outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $PRE.$outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002282/0.004978, allocations: 109.3 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.004989, allocations: 6.656 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.004994, allocations: 0 / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.115e-05/0.005065, allocations: 12.92 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.005114, allocations: 23.97 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006585/0.005772, allocations: 1.359 MB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.00579, allocations: 11.97 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005795, allocations: 96 / 0.9555 GB, free: 14.04 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: y = 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: 4 (curSeed,$PRE.curSeed,$whenCondition1,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/0.00586, allocations: 117.8 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.005868, allocations: 12.09 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-06/0.005876, allocations: 3.812 kB / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.005877, allocations: 0 / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005879, allocations: 8.172 kB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.005882, allocations: 0 / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.006046, allocations: 277.6 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006047, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.006055, allocations: 4 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.006057, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.006062, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.006063, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.006064, allocations: 8 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.009e-05/0.006144, allocations: 167.4 kB / 0.956 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-06/0.006148, allocations: 0 / 0.956 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-06/0.006154, allocations: 4 kB / 0.956 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.918e-05/0.006183, allocations: 7.938 kB / 0.956 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.006201, allocations: 7.984 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.006206, allocations: 4 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.006229, allocations: 75.28 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006229, allocations: 0 / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002136/0.006442, allocations: 35.92 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB 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 (5): * Single equations (assignments): 3 * 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.0004471/0.00689, allocations: 0.7822 MB / 0.9569 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.007086, allocations: 146.6 kB / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.007088, allocations: 0 / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.007109, allocations: 15.94 kB / 0.9571 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.00724, allocations: 2.5 kB / 0.9571 GB, free: 12.29 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ $PRE.$outputAlias_y ; $outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/0.008052, allocations: 1.334 MB / 0.9584 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.008091, allocations: 59.34 kB / 0.9584 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.357e-05/0.008105, allocations: 4.062 kB / 0.9584 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.008129, allocations: 12.5 kB / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.008129, allocations: 0 / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.02453, allocations: 2.675 MB / 0.9611 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.222, allocations: 6.375 kB / 0.9611 GB, free: 8.207 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.csv","/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",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.306154294870794]