Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 255.9 MB / 271.2 MB, free: 8.879 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001019, allocations: 190 kB / 330.8 MB, free: 476 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.769/1.769, allocations: 225.7 MB / 0.6016 GB, free: 1.66 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009692, allocations: 111.5 kB / 0.709 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 109.2 MB / 0.9328 GB, free: 6.262 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003339/0.2034, allocations: 3.376 MB / 0.936 GB, free: 2.871 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.2058, allocations: 2.846 MB / 0.9388 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.206, allocations: 8 kB / 0.9388 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.2062, allocations: 63.5 kB / 0.9389 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.2067, allocations: 207.1 kB / 0.9391 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.2072, allocations: 195.5 kB / 0.9393 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.2078, allocations: 0.6738 MB / 0.9399 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.2082, allocations: 314.3 kB / 0.9402 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.2085, allocations: 159.3 kB / 0.9404 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.2089, allocations: 203.2 kB / 0.9406 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.2089, allocations: 12 kB / 0.9406 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.2094, allocations: 303.3 kB / 0.9409 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2095, allocations: 103.7 kB / 0.941 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2097, allocations: 180.9 kB / 0.9412 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.2103, allocations: 0.4986 MB / 0.9416 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2103, allocations: 0 / 0.9416 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.227e-06/0.2103, allocations: 0 / 0.9416 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2103, allocations: 3.938 kB / 0.9416 GB, free: 12.8 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008722/0.2112, allocations: 0.5732 MB / 0.9422 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2112, allocations: 11.98 kB / 0.9422 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.2121, allocations: 136.4 kB / 0.9423 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.2125, allocations: 288.2 kB / 0.9426 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.2125, allocations: 21.03 kB / 0.9426 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.2126, allocations: 28.38 kB / 0.9427 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.2133, allocations: 459.9 kB / 0.9431 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2133, allocations: 3.938 kB / 0.9431 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.2133, allocations: 19.98 kB / 0.9431 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.2134, allocations: 32.55 kB / 0.9432 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004827/0.2139, allocations: 313.9 kB / 0.9435 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.2161, allocations: 2.189 MB / 0.9456 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.2165, allocations: 247.8 kB / 0.9458 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.2167, allocations: 120.8 kB / 0.946 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2167, allocations: 0 / 0.946 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2168, allocations: 38.5 kB / 0.946 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.2168, allocations: 0 / 0.946 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0006356/0.2174, allocations: 303.5 kB / 0.9463 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2175, allocations: 51.41 kB / 0.9463 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.2178, allocations: 270.5 kB / 0.9466 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2178, allocations: 29.7 kB / 0.9466 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.218, allocations: 203.8 kB / 0.9468 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.218, allocations: 51.27 kB / 0.9469 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.2181, allocations: 8 kB / 0.9469 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2182, allocations: 338.9 kB / 0.9472 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.2183, allocations: 56.38 kB / 0.9472 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.2185, allocations: 144.9 kB / 0.9474 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.2187, allocations: 211 kB / 0.9476 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.2188, allocations: 0 / 0.9476 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004156/0.2192, allocations: 269.9 kB / 0.9478 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2192, allocations: 8 kB / 0.9478 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2192, allocations: 4 kB / 0.9478 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.2194, allocations: 24.84 kB / 0.9479 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.2196, allocations: 51.91 kB / 0.9479 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.2207, allocations: 1.321 MB / 0.9492 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.2209, allocations: 27.69 kB / 0.9492 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.2209, allocations: 16.16 kB / 0.9493 GB, free: 4.344 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.000153/0.221, allocations: 166.9 kB / 0.9494 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.2211, allocations: 27.66 kB / 0.9494 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.2211, allocations: 25.83 kB / 0.9495 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2212, allocations: 4 kB / 0.9495 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2212, allocations: 0 / 0.9495 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2212, allocations: 3.984 kB / 0.9495 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.2221, allocations: 0.7024 MB / 0.9502 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2221, allocations: 0 / 0.9502 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.2222, allocations: 28.11 kB / 0.9502 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.778e-05/0.2223, allocations: 28.84 kB / 0.9502 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2223, allocations: 4 kB / 0.9502 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009079/0.2232, allocations: 1.323 MB / 0.9515 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2232, allocations: 0 / 0.9515 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.2236, allocations: 321.1 kB / 0.9518 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/0.2237, allocations: 108.8 kB / 0.9519 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.2237, allocations: 11.98 kB / 0.9519 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.2239, allocations: 12 kB / 0.9519 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.2239, allocations: 15.98 kB / 0.952 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.2239, allocations: 8 kB / 0.952 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001791/0.2241, allocations: 186 kB / 0.9521 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2241, allocations: 0 / 0.9521 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003983/0.2245, allocations: 87.72 kB / 0.9522 GB, free: 1.012 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001086/0.2247, allocations: 103.3 kB / 0.9523 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.2251, allocations: 282.6 kB / 0.9526 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2251, allocations: 0 / 0.9526 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.2253, allocations: 187.6 kB / 0.9528 GB, free: 428 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.2258, allocations: 60.44 kB / 0.9528 GB, free: 368 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/0.2268, allocations: 0.6617 MB / 0.9535 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.2272, allocations: 0.795 MB / 0.9543 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.2274, allocations: 54.22 kB / 0.9543 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.2274, allocations: 19.44 kB / 0.9543 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.984e-06/0.2274, allocations: 4 kB / 0.9543 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.005713/0.2332, allocations: 2.558 MB / 0.9568 GB, free: 12.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)