Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.00137/0.00137, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001397/0.001397, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 0.49 GB / 0.7923 GB, free: 1.375 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003048/0.003048, allocations: 67.91 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9431/0.9461, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01097/0.9571, allocations: 11.05 MB / 1.332 GB, free: 17.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.9697, allocations: 8.946 MB / 1.341 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.9714, allocations: 79.06 kB / 1.341 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003985/0.9754, allocations: 1.693 MB / 1.343 GB, free: 9.965 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004588/0.98, allocations: 1.567 MB / 1.344 GB, free: 9.031 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.9819, allocations: 0.6736 MB / 1.345 GB, free: 8.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003032/0.9849, allocations: 2.279 MB / 1.347 GB, free: 7.602 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.9868, allocations: 1.093 MB / 1.348 GB, free: 7.066 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.9888, allocations: 1.037 MB / 1.349 GB, free: 6.629 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.9911, allocations: 1.069 MB / 1.35 GB, free: 6.176 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005729/0.9917, allocations: 138.4 kB / 1.35 GB, free: 6.176 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.994, allocations: 0.813 MB / 1.351 GB, free: 5.934 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.995, allocations: 0.5872 MB / 1.352 GB, free: 5.656 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.9971, allocations: 0.8847 MB / 1.353 GB, free: 5.113 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005242/1.002, allocations: 2.576 MB / 1.355 GB, free: 4.203 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.002, allocations: 9.219 kB / 1.355 GB, free: 4.195 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/1.002, allocations: 0 / 1.355 GB, free: 4.195 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001179/1.003, allocations: 0 / 1.355 GB, free: 4.195 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005977/1.008, allocations: 2.068 MB / 1.357 GB, free: 2.852 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.009, allocations: 12.86 kB / 1.357 GB, free: 2.848 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.122e-05/1.009, allocations: 35.59 kB / 1.357 GB, free: 2.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005309/1.009, allocations: 189.6 kB / 1.357 GB, free: 2.719 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/1.021, allocations: 2.061 MB / 1.359 GB, free: 2.582 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/1.024, allocations: 1.214 MB / 1.361 GB, free: 1.898 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/1.024, allocations: 96.44 kB / 1.361 GB, free: 1.848 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/1.024, allocations: 116.4 kB / 1.361 GB, free: 1.809 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005776/1.03, allocations: 2.475 MB / 1.363 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/1.03, allocations: 10.48 kB / 1.363 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/1.03, allocations: 55.16 kB / 1.363 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003632/1.031, allocations: 128.2 kB / 1.363 GB, free: 0.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007368/1.038, allocations: 2.539 MB / 1.366 GB, free: 132 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/1.054, allocations: 10.03 MB / 1.376 GB, free: 8.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006719/1.061, allocations: 1.924 MB / 1.378 GB, free: 8.363 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/1.064, allocations: 0.9499 MB / 1.378 GB, free: 8.137 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/1.064, allocations: 5.312 kB / 1.379 GB, free: 8.137 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/1.064, allocations: 42.91 kB / 1.379 GB, free: 8.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 3.316e-06/1.064, allocations: 0 / 1.379 GB, free: 8.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03388/1.098, allocations: 8.718 MB / 1.387 GB, free: 6.051 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/1.098, allocations: 60.61 kB / 1.387 GB, free: 5.988 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/1.1, allocations: 1.097 MB / 1.388 GB, free: 5.547 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/1.1, allocations: 41.58 kB / 1.388 GB, free: 5.504 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000693/1.101, allocations: 0.7501 MB / 1.389 GB, free: 4.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/1.101, allocations: 294.2 kB / 1.389 GB, free: 4.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005279/1.102, allocations: 201.3 kB / 1.389 GB, free: 4.594 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.102, allocations: 345.2 kB / 1.39 GB, free: 4.266 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/1.105, allocations: 1.072 MB / 1.391 GB, free: 3.715 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/1.109, allocations: 1.306 MB / 1.392 GB, free: 2.875 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006564/1.115, allocations: 2.379 MB / 1.394 GB, free: 1.469 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.115, allocations: 2.219 kB / 1.394 GB, free: 1.469 MB / 1.076 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009694/1.125, allocations: 3.26 MB / 1.398 GB, free: 15.69 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.125, allocations: 7.781 kB / 1.398 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.125, allocations: 7.594 kB / 1.398 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/1.128, allocations: 0.797 MB / 1.398 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/1.13, allocations: 412.5 kB / 1.399 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/1.148, allocations: 15.92 MB / 1.414 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.151, allocations: 282.8 kB / 1.415 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/1.151, allocations: 58.36 kB / 1.415 GB, free: 0.5469 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001275/1.153, allocations: 408.5 kB / 1.415 GB, free: 260 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/1.153, allocations: 149.2 kB / 1.415 GB, free: 180 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009745/1.163, allocations: 3.183 MB / 1.418 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.163, allocations: 7.281 kB / 1.418 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.454e-05/1.163, allocations: 11.64 kB / 1.418 GB, free: 14.32 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.163, allocations: 5.047 kB / 1.418 GB, free: 14.32 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.177, allocations: 4.884 MB / 1.423 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.177, allocations: 2.469 kB / 1.423 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/1.178, allocations: 360.3 kB / 1.423 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002766/1.181, allocations: 0.6952 MB / 1.424 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/1.181, allocations: 28.78 kB / 1.424 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/1.199, allocations: 15.55 MB / 1.439 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.199, allocations: 12.44 kB / 1.439 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008886/1.208, allocations: 3.013 MB / 1.442 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.209, allocations: 392 kB / 1.443 GB, free: 9.914 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/1.209, allocations: 19.94 kB / 1.443 GB, free: 9.895 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.211, allocations: 295.5 kB / 1.443 GB, free: 9.605 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/1.211, allocations: 76.48 kB / 1.443 GB, free: 9.531 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.211, allocations: 39.97 kB / 1.443 GB, free: 9.492 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001112/1.213, allocations: 0.7405 MB / 1.444 GB, free: 8.75 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/1.213, allocations: 0 / 1.444 GB, free: 8.75 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001807/1.214, allocations: 432 kB / 1.444 GB, free: 8.328 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009051/1.223, allocations: 3.597 MB / 1.448 GB, free: 4.641 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009198/1.233, allocations: 3.519 MB / 1.451 GB, free: 1.016 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/1.233, allocations: 4.125 kB / 1.451 GB, free: 1.012 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005361/1.238, allocations: 2.324 MB / 1.453 GB, free: 14.58 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.241, allocations: 0.5043 MB / 1.454 GB, free: 14.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/1.278, allocations: 15.82 MB / 1.469 GB, free: 13.84 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.279, allocations: 1.388 MB / 1.471 GB, free: 12.42 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001508/1.281, allocations: 375.9 kB / 1.471 GB, free: 12.05 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/1.282, allocations: 0.6008 MB / 1.472 GB, free: 11.45 MB / 1.154 GB Notification: Performance of SimCode: time 1.022e-06/1.282, allocations: 3.938 kB / 1.472 GB, free: 11.45 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/1.416, allocations: 41.81 MB / 1.512 GB, free: 2.254 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/16.94, allocations: 14.62 kB / 1.513 GB, free: 2.242 MB / 1.186 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 23.482946627947967]