Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 105.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 443.5 MB / 0.7287 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.91 kB / 1.056 GB, free: 2.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3244, allocations: 160.7 MB / 1.213 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01362/0.338, allocations: 10.17 MB / 1.223 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006242/0.3443, allocations: 3.072 MB / 1.226 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007638/0.345, allocations: 35.81 kB / 1.226 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.3472, allocations: 0.6958 MB / 1.227 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.3489, allocations: 0.7274 MB / 1.227 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.3504, allocations: 0.6394 MB / 1.228 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003668/0.3541, allocations: 2.738 MB / 1.231 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.3568, allocations: 1.902 MB / 1.232 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.3587, allocations: 1.137 MB / 1.234 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.361, allocations: 1.492 MB / 1.235 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003954/0.3614, allocations: 216 kB / 1.235 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.3625, allocations: 0.4915 MB / 1.236 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.3639, allocations: 0.9938 MB / 1.237 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.3653, allocations: 1.027 MB / 1.238 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.3699, allocations: 3.423 MB / 1.241 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3699, allocations: 0 / 1.241 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3699, allocations: 0 / 1.241 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.926e-05/0.3699, allocations: 0 / 1.241 GB, free: 4.555 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003827/0.3737, allocations: 1.988 MB / 1.243 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3738, allocations: 12.03 kB / 1.243 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003323/0.3741, allocations: 252.7 kB / 1.243 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005522/0.3796, allocations: 0.897 MB / 1.244 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.3827, allocations: 1.169 MB / 1.245 GB, free: 132 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/0.3828, allocations: 111.3 kB / 1.245 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.3832, allocations: 140.4 kB / 1.245 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005458/0.3887, allocations: 3.021 MB / 1.248 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/0.3887, allocations: 4 kB / 1.248 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.389, allocations: 59.97 kB / 1.248 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002359/0.3892, allocations: 175 kB / 1.249 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004836/0.3941, allocations: 2.608 MB / 1.251 GB, free: 9.914 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.647/1.041, allocations: 13.5 MB / 1.264 GB, free: 42.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/1.043, allocations: 1.213 MB / 1.266 GB, free: 42.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/1.044, allocations: 0.9875 MB / 1.267 GB, free: 42.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/1.044, allocations: 12.97 kB / 1.267 GB, free: 42.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.044, allocations: 44.88 kB / 1.267 GB, free: 42.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/1.044, allocations: 0 / 1.267 GB, free: 42.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.07197/1.116, allocations: 19.32 MB / 1.285 GB, free: 40.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.116, allocations: 73.62 kB / 1.286 GB, free: 40.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.118, allocations: 0.9188 MB / 1.286 GB, free: 40.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/1.118, allocations: 49.33 kB / 1.286 GB, free: 40.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/1.118, allocations: 0.7453 MB / 1.287 GB, free: 39.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004361/1.119, allocations: 0.5044 MB / 1.288 GB, free: 39.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005485/1.119, allocations: 290.5 kB / 1.288 GB, free: 39.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/1.119, allocations: 352.5 kB / 1.288 GB, free: 39.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/1.122, allocations: 1.339 MB / 1.29 GB, free: 38.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/1.124, allocations: 1.66 MB / 1.291 GB, free: 37.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/1.128, allocations: 3.09 MB / 1.294 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.128, allocations: 2.344 kB / 1.294 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01272/1.141, allocations: 5.56 MB / 1.3 GB, free: 34.69 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.141, allocations: 9.688 kB / 1.3 GB, free: 34.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/1.141, allocations: 11.16 kB / 1.3 GB, free: 34.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008449/1.149, allocations: 2.724 MB / 1.302 GB, free: 34.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/1.15, allocations: 193.3 kB / 1.303 GB, free: 34.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03122/1.182, allocations: 25.75 MB / 1.328 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.183, allocations: 98.48 kB / 1.328 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/1.183, allocations: 57.83 kB / 1.328 GB, free: 17.72 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001046/1.184, allocations: 0.7301 MB / 1.329 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/1.184, allocations: 121 kB / 1.329 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009423/1.194, allocations: 5.313 MB / 1.334 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.194, allocations: 15.78 kB / 1.334 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.769e-05/1.194, allocations: 19.09 kB / 1.334 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.194, allocations: 11.97 kB / 1.334 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.207, allocations: 8.607 MB / 1.342 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.207, allocations: 4 kB / 1.342 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/1.208, allocations: 115.9 kB / 1.342 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007262/1.215, allocations: 2.596 MB / 1.345 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/1.215, allocations: 28 kB / 1.345 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03426/1.25, allocations: 24.16 MB / 1.369 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.25, allocations: 7.938 kB / 1.369 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.261, allocations: 5.183 MB / 1.374 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.263, allocations: 0.4884 MB / 1.374 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/1.263, allocations: 24 kB / 1.374 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/1.264, allocations: 83.84 kB / 1.374 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005408/1.264, allocations: 122.6 kB / 1.374 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.264, allocations: 36 kB / 1.374 GB, free: 6.254 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009513/1.265, allocations: 0.6395 MB / 1.375 GB, free: 5.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.265, allocations: 0 / 1.375 GB, free: 5.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002702/1.268, allocations: 0.7304 MB / 1.376 GB, free: 4.883 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01155/1.28, allocations: 5.753 MB / 1.381 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007805/1.287, allocations: 4.096 MB / 1.385 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.287, allocations: 0 / 1.385 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005497/1.293, allocations: 2.602 MB / 1.388 GB, free: 8.254 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.294, allocations: 219.6 kB / 1.388 GB, free: 8.062 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03954/1.334, allocations: 21.3 MB / 1.409 GB, free: 2.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.336, allocations: 1.7 MB / 1.411 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008319/1.337, allocations: 322.1 kB / 1.411 GB, free: 268 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/1.337, allocations: 0.5422 MB / 1.411 GB, free: 15.75 MB / 1.076 GB Notification: Performance of SimCode: time 1.403e-06/1.337, allocations: 0 / 1.411 GB, free: 15.75 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/1.446, allocations: 53.09 MB / 1.463 GB, free: 11.06 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.7, allocations: 10 kB / 1.463 GB, free: 11.06 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 19.802415736950934]