Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.0008165/0.0008165, 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.0008871/0.0008871, 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.9192/0.9192, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Logit1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.9505 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.442e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002562/0.002586, allocations: 1.239 MB / 0.9517 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003703, allocations: 435 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.003746, allocations: 0 / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.003778, allocations: 3.938 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.003841, allocations: 0 / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008932/0.004735, allocations: 127.4 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.004843, allocations: 11.98 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.004899, allocations: 3.984 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.004954, allocations: 19.92 kB / 0.9522 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.004998, allocations: 4 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.005019, allocations: 0 / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.005356, allocations: 143.7 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.005376, allocations: 0 / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.005418, allocations: 7.984 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.005827, allocations: 119.6 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.005831, allocations: 4 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.513e-06/0.005832, allocations: 0 / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.005838, allocations: 4 kB / 0.9525 GB, free: 1.426 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.0005209/0.006359, allocations: 303.8 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.006413, allocations: 8.031 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.472e-05/0.006488, allocations: 34.7 kB / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.00652, allocations: 4.938 kB / 0.9528 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.006619, allocations: 113.7 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.006644, allocations: 4.375 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.006654, allocations: 4.375 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.00678, allocations: 50.17 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.00679, allocations: 4.172 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.006801, allocations: 384 / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.006807, allocations: 4.125 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.006838, allocations: 8 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.007169, allocations: 208.1 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.007277, allocations: 38.5 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.007317, allocations: 20.8 kB / 0.9533 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.007329, allocations: 4 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.00752, allocations: 63.42 kB / 0.9533 GB, free: 436 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.007522, allocations: 4 kB / 0.9533 GB, free: 432 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0002272/0.00775, allocations: 73.83 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.007793, allocations: 55.34 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.007866, allocations: 101.8 kB / 0.9536 GB, free: 172 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.007881, allocations: 29.7 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.007914, allocations: 80.14 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.007933, allocations: 15.89 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.007972, allocations: 21.72 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.008084, allocations: 318.8 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.008107, allocations: 11.98 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.008148, allocations: 35.5 kB / 0.9541 GB, free: 15.63 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.0001173/0.008265, allocations: 63.36 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.008267, allocations: 0 / 0.9541 GB, free: 15.55 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.000338/0.008605, allocations: 121.8 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.008621, allocations: 4 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.008628, allocations: 4 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.684e-05/0.008715, allocations: 8.859 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.008782, allocations: 11.98 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009901/0.009772, allocations: 1.366 MB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.009805, allocations: 8.156 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.009814, allocations: 8 kB / 0.9556 GB, free: 13.9 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.0001032/0.009917, allocations: 112.9 kB / 0.9557 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.00993, allocations: 7.938 kB / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.009952, allocations: 15.73 kB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009953, allocations: 0 / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.009955, allocations: 0 / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.009959, allocations: 4.094 kB / 0.9557 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.01022, allocations: 269.6 kB / 0.956 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01022, allocations: 0 / 0.956 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.01024, allocations: 12.06 kB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01025, allocations: 0 / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.01025, allocations: 0 / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.01026, allocations: 7.922 kB / 0.956 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01026, allocations: 0 / 0.956 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.0104, allocations: 171.4 kB / 0.9562 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.0104, allocations: 0 / 0.9562 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.01041, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.706e-05/0.01047, allocations: 3.984 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.01049, allocations: 0 / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.0105, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.01054, allocations: 83.28 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01054, allocations: 0 / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004189/0.01096, allocations: 39.92 kB / 0.9563 GB, free: 13.11 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.0007724/0.01173, allocations: 0.788 MB / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.01205, allocations: 146.6 kB / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01205, allocations: 4.125 kB / 0.9572 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.01209, allocations: 11.98 kB / 0.9572 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01234, allocations: 6.188 kB / 0.9572 GB, free: 12.13 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.001327/0.01367, allocations: 1.357 MB / 0.9586 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.762e-05/0.01373, allocations: 63.34 kB / 0.9586 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.01375, allocations: 7.984 kB / 0.9586 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.01378, allocations: 8.5 kB / 0.9586 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.01378, allocations: 0 / 0.9586 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.03676, allocations: 2.837 MB / 0.9614 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.419, allocations: 14.67 kB / 0.9614 GB, free: 7.855 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_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_Logit1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.634604686871171]