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.0008608/0.0008608, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008417/0.0008417, 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.9063/0.9063, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.624/1.624, allocations: 359 MB / 0.6037 GB, free: 11.07 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.522e-06/1.522e-06, allocations: 0 / 0.9504 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.665e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001437/0.001453, allocations: 1.239 MB / 0.9517 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005162/0.00197, allocations: 362.7 kB / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.001991, allocations: 0 / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.002007, allocations: 0 / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.826e-05/0.002036, allocations: 3.938 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.002472, allocations: 103.6 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.879e-05/0.002531, allocations: 19.92 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.002569, allocations: 11.98 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.236e-05/0.002601, allocations: 4 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.394e-05/0.002625, allocations: 7.984 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.002638, allocations: 0 / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.002813, allocations: 127.7 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.002826, allocations: 0 / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.002852, allocations: 11.98 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.003007, allocations: 99.67 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.00301, allocations: 0 / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003011, allocations: 0 / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003015, allocations: 7.938 kB / 0.9524 GB, free: 1.535 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.0003759/0.00339, allocations: 291.9 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.003427, allocations: 16.02 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.207e-05/0.003479, allocations: 34.69 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.003501, allocations: 0.9375 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.985e-05/0.003561, allocations: 105.8 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.003579, allocations: 384 / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.003589, allocations: 8.375 kB / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/0.003673, allocations: 42.17 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.003681, allocations: 4.188 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.003688, allocations: 4.375 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.003692, allocations: 4.125 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.003713, allocations: 8 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.003932, allocations: 216 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.243e-05/0.003994, allocations: 31.12 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.004022, allocations: 20.88 kB / 0.9531 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.004029, allocations: 0 / 0.9531 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.386e-05/0.004123, allocations: 59.34 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.004124, allocations: 4 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001491/0.004273, allocations: 73.84 kB / 0.9533 GB, free: 492 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.004304, allocations: 63.34 kB / 0.9533 GB, free: 416 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.43e-05/0.004349, allocations: 93.84 kB / 0.9534 GB, free: 312 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.004358, allocations: 29.7 kB / 0.9534 GB, free: 276 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.004378, allocations: 84.14 kB / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.00439, allocations: 7.906 kB / 0.9535 GB, free: 180 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.004415, allocations: 21.72 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.004556, allocations: 318.8 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.004571, allocations: 8.062 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.004601, allocations: 47.53 kB / 0.9539 GB, free: 15.76 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.045e-05/0.004682, allocations: 63.36 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004683, 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.000222/0.004905, allocations: 113.4 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.004917, allocations: 4 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.004922, allocations: 0 / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.025e-05/0.004992, allocations: 20.91 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.443e-05/0.005036, allocations: 8 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007741/0.005811, allocations: 1.363 MB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.005841, allocations: 7.969 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.005852, allocations: 8.234 kB / 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 0.0001016/0.005954, allocations: 118 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.005972, allocations: 15.86 kB / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.00599, allocations: 7.812 kB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005991, allocations: 0 / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.005992, allocations: 0 / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005995, allocations: 0 / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.006219, allocations: 269.6 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006221, allocations: 0 / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.006237, allocations: 8.062 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.00624, allocations: 3.984 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.006247, allocations: 4 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.006249, allocations: 4 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.00625, allocations: 3.938 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.66e-05/0.006337, allocations: 163.4 kB / 0.956 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.006343, allocations: 7.984 kB / 0.956 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-06/0.006349, allocations: 0 / 0.956 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.006382, allocations: 4 kB / 0.956 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.0064, allocations: 0 / 0.956 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.006407, allocations: 4 kB / 0.956 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.006433, allocations: 83.27 kB / 0.9561 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006433, allocations: 0 / 0.9561 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002259/0.006659, allocations: 32.03 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.0004941/0.007153, allocations: 0.7742 MB / 0.9569 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.007391, allocations: 150.5 kB / 0.9571 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007392, allocations: 0 / 0.9571 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-05/0.007415, allocations: 12 kB / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.007556, allocations: 12.11 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.0008675/0.008424, allocations: 1.338 MB / 0.9584 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.008463, allocations: 63.34 kB / 0.9584 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.008479, allocations: 8 kB / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.008507, allocations: 16.48 kB / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.008507, allocations: 0 / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.02591, allocations: 2.668 MB / 0.9611 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.325, allocations: 5.016 kB / 0.9611 GB, free: 8.203 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" Variables in the reference:time,y Variables in the result:p,seed,time,y [Calling sys.exit(0), Time elapsed: 11.179344358853996]