Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.0008552/0.0008552, 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.0008348/0.0008348, 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.8827/0.8827, allocations: 177.2 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.709/1.709, 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.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.962e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001614/0.001633, allocations: 1.247 MB / 0.9517 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006894/0.002323, allocations: 443 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.00235, allocations: 0 / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.00237, allocations: 3.938 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.351e-05/0.002413, allocations: 0 / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.002937, allocations: 127.4 kB / 0.9522 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.003001, allocations: 19.92 kB / 0.9522 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.003037, allocations: 7.984 kB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.003072, allocations: 11.98 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.56e-05/0.003097, allocations: 4 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.003115, allocations: 0 / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.003332, allocations: 151.6 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.00335, allocations: 11.92 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.003372, allocations: 4 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.003553, allocations: 123.7 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003554, allocations: 0 / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.343e-06/0.003556, allocations: 0 / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.003561, allocations: 4 kB / 0.9526 GB, free: 1.371 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004131/0.003974, allocations: 311.7 kB / 0.9528 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.004012, allocations: 12.03 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.311e-05/0.004075, allocations: 34.7 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.0041, allocations: 4.875 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.00428, allocations: 117.7 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.0043, allocations: 4.359 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.004308, allocations: 4.375 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.004415, allocations: 46.25 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.004422, allocations: 192 / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.00443, allocations: 4.375 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.004437, allocations: 8.125 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.004465, allocations: 11.98 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.004736, allocations: 219.9 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.775e-05/0.004794, allocations: 30.62 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.004823, allocations: 16.98 kB / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.004831, allocations: 0 / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.004939, allocations: 63.33 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=6): time 7.52e-07/0.00494, allocations: 4 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0001812/0.005121, allocations: 89.61 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.005158, allocations: 51.41 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.005215, allocations: 105.8 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005225, allocations: 25.7 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.005267, allocations: 88.09 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.005284, allocations: 15.89 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.005393, allocations: 29.7 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.005468, allocations: 310.8 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.005487, allocations: 12 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.005522, allocations: 48.22 kB / 0.9541 GB, free: 15.52 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 0.0001003/0.005622, allocations: 80.14 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.005625, allocations: 0 / 0.9542 GB, free: 15.43 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=9) (initialization): time 0.0002607/0.005885, allocations: 115.1 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.005899, allocations: 12.09 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.005904, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.356e-05/0.005977, allocations: 12.86 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.006032, allocations: 11.98 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/0.006836, allocations: 1.367 MB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.006858, allocations: 7.938 kB / 0.9557 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.006866, allocations: 8 kB / 0.9557 GB, free: 13.77 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: 5 * 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 (8): * 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: 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 7.268e-05/0.006939, allocations: 117.9 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.006949, allocations: 8.078 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.322e-05/0.006962, allocations: 16.11 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.006963, allocations: 3.938 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.006964, allocations: 0 / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006966, allocations: 0 / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.007138, allocations: 273.7 kB / 0.9561 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.00714, allocations: 4 kB / 0.9561 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.007153, allocations: 4 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.007154, allocations: 4.234 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007161, allocations: 3.984 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007161, allocations: 3.938 kB / 0.9561 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007162, allocations: 0 / 0.9561 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.922e-05/0.007261, allocations: 171.5 kB / 0.9563 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.007267, allocations: 7.938 kB / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-06/0.007273, allocations: 4 kB / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.007303, allocations: 4 kB / 0.9563 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.007321, allocations: 0 / 0.9563 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.007327, allocations: 4 kB / 0.9563 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.007355, allocations: 87.39 kB / 0.9564 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007355, allocations: 4 kB / 0.9564 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002407/0.007596, allocations: 35.88 kB / 0.9564 GB, free: 12.95 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 (6): * Single equations (assignments): 4 * 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.0005135/0.008109, allocations: 0.7938 MB / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.008334, allocations: 150.5 kB / 0.9574 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008336, allocations: 192 / 0.9574 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.008362, allocations: 23.94 kB / 0.9574 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.008501, allocations: 3.984 kB / 0.9574 GB, free: 11.96 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.0008914/0.009393, allocations: 1.396 MB / 0.9587 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.009439, allocations: 67.34 kB / 0.9588 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.009455, allocations: 4 kB / 0.9588 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.009482, allocations: 12.48 kB / 0.9588 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.009483, allocations: 4 kB / 0.9588 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.02822, allocations: 2.928 MB / 0.9617 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.295, allocations: 5.781 kB / 0.9617 GB, free: 7.547 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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:A,B,C,seed,time,x1,x2,y [Calling sys.exit(0), Time elapsed: 11.375340853817761]